mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 23:48:56 +01:00
Fix bug in /chat endpoint for general and update depdendencies
This commit is contained in:
parent
c93dcc948a
commit
7c35da9fc4
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ dependencies = [
|
|||
"transformers >= 4.28.0",
|
||||
"torch >= 2.0.1",
|
||||
"uvicorn == 0.17.6",
|
||||
"aiohttp == 3.8.4",
|
||||
"aiohttp == 3.8.5",
|
||||
"langchain >= 0.0.187",
|
||||
"pypdf >= 3.9.0",
|
||||
"requests >= 2.26.0",
|
||||
|
|
|
@ -771,7 +771,7 @@ async def extract_references_and_questions(
|
|||
return compiled_references, inferred_queries
|
||||
|
||||
if conversation_type == ConversationCommand.General:
|
||||
return compiled_references, inferred_queries
|
||||
return compiled_references, inferred_queries, q
|
||||
|
||||
# Extract filter terms from user message
|
||||
defiltered_query = q
|
||||
|
|
Loading…
Reference in a new issue