mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
used the Response class from fastapi.responses and set the input for status_code to 200
This commit is contained in:
@@ -862,3 +862,7 @@ async def extract_references_and_questions(
|
||||
compiled_references = [item.additional["compiled"] for item in result_list]
|
||||
|
||||
return compiled_references, inferred_queries, defiltered_query
|
||||
|
||||
@app.get("/health")
|
||||
async def health_check():
|
||||
return Response(status_code=200)
|
||||
|
||||
Reference in New Issue
Block a user