mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
used the Response class from fastapi.responses and set the input for status_code to 200
This commit is contained in:
parent
e3557cd8b7
commit
b3d7d6a79d
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue