mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-20 13:05:49 +02:00
Fix timeout for new LLM class
This commit is contained in:
@@ -75,7 +75,7 @@ def get_default_qa_model(
|
|||||||
try:
|
try:
|
||||||
# un-used arguments will be ignored by the underlying `LLM` class
|
# un-used arguments will be ignored by the underlying `LLM` class
|
||||||
# if any args are missing, a `TypeError` will be thrown
|
# if any args are missing, a `TypeError` will be thrown
|
||||||
llm = get_default_llm()
|
llm = get_default_llm(timeout=timeout)
|
||||||
qa_handler = get_default_qa_handler(model=internal_model)
|
qa_handler = get_default_qa_handler(model=internal_model)
|
||||||
|
|
||||||
return QABlock(
|
return QABlock(
|
||||||
|
Reference in New Issue
Block a user