feat: added current alfred version from pyproject.py to healthcheck
This commit is contained in:
+1
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user