core: Router bleibt bei Embedding-Ausfall lauffähig (Stufe 0) und erholt sich selbst
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -71,7 +71,8 @@ def create_app(system: System | None = None, start_prober: bool | None = None) -
|
||||
|
||||
@app.get("/health")
|
||||
def health() -> dict[str, Any]:
|
||||
return {"status": "ok", "skills": len(system.library.all()), "dry_run": system.settings.dry_run}
|
||||
return {"status": "ok", "skills": len(system.library.all()), "dry_run": system.settings.dry_run,
|
||||
"embedding_index": "ok" if system.router.index_error is None else system.router.index_error}
|
||||
|
||||
@app.get("/metrics")
|
||||
def metrics() -> Response:
|
||||
|
||||
Reference in New Issue
Block a user