CoolFace
Apppublic

iShowRelx5/specForge-api

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes
App README

SpecForge API Space

This Hugging Face Space runs the SpecForge FastAPI backend.

Backend health check:

text
https://ishowrelx5-specforge-api.hf.space/api/v1/health

The Vercel frontend should use this environment variable:

text
BACKEND_URL=https://ishowrelx5-specforge-api.hf.space

Required Space secrets:

text
LLM_API_KEY=<Moonshot API key>
LLM_BASE_URL=https://api.moonshot.cn/v1
LLM_MODEL=kimi-k2.6
REDIS_URL=rediss://default:<password>@<host>:6379

Legacy QWEN_* secret names are still accepted.

Operational notes:

  • Free Spaces can cold start; first request may take a short wait.
  • Redis is used for session cache. If it is unavailable, core generation still works.
  • SQLite FTS search errors fall back to LIKE search so retrieval does not block generation.
  • /api/v1/health does not call the LLM and is safe for uptime checks.