mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Merge pull request #592 from ayushjha119/Fixed-Health-Check-to-Khoj-api
Fixed health check to khoj api
This commit is contained in:
commit
afec4394f9
1 changed files with 5 additions and 0 deletions
|
@ -862,3 +862,8 @@ async def extract_references_and_questions(
|
|||
compiled_references = [item.additional["compiled"] for item in result_list]
|
||||
|
||||
return compiled_references, inferred_queries, defiltered_query
|
||||
|
||||
|
||||
@api.get("/health")
|
||||
async def health_check():
|
||||
return Response(status_code=200)
|
||||
|
|
Loading…
Reference in a new issue