Spaces:
Runtime error
Runtime error
Commit History
-
add: Docker deployment for HF Spaces demoβ
sourabh guptaSingle-container image (FastAPI + React static files, baked ML models). Serves API and frontend on port 7860. Secrets injected at runtime.3da409a
-
feat(agent): implement comprehensive logging and fix recursion loopβ
sourabh gupta- Create 'vantage_core/log.py' logging utility with timed/timeit helpers. - Instrument adapters, domain layer, agent tools, scripts, and API. - Fix topic-blindness in gap_analysis tool and top_gaps Neo4j query. - Enforce recursion_limit=10 on LangGraph agent invocations. - Add behavioral STOP CONDITION to agent system prompt.1743c95 -
feat(api): implement FastAPI read-side layer with 4 endpoints and OpenAPI contractβ
sourabh gupta- apps/api/main.py: FastAPI app with lifespan agent singleton and CORS middleware - apps/api/routers/chat.py: POST /api/chat β async agent invocation with thread_id sessions - apps/api/routers/gaps.py: GET /api/gaps β ranked GapScore results from Neo4j - apps/api/routers/graph.py: GET /api/graph/{topic} β entity lookup from KG - apps/api/routers/signals.py: GET /api/signals β sorted external momentum signals - scripts/export_openapi.py: static offline OpenAPI YAML export (no server required) - contracts/openapi.yaml: generated API contract (SSOT for P10 TS client) - start.sh / stop.sh: local uvicorn lifecycle scripts - Makefile: add api, stop-api, openapi targets; fix python3.11 executable6930676