feat: added current alfred version from pyproject.py to healthcheck

This commit is contained in:
2026-01-01 04:44:15 +01:00
parent 0357108077
commit cda23d074f
4 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ def extract_last_user_content(messages: list[dict[str, Any]]) -> str:
@app.get("/health")
async def health_check():
"""Health check endpoint."""
return {"status": "healthy", "version": "0.2.0"} # TODO: SHOULD BE DYNAMIC
return {"status": "healthy", "version": f"v{settings.alfred_version}"}
@app.get("/v1/models")