mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-19 12:03:54 +02:00
Disable langchain retries
This commit is contained in:
@@ -44,6 +44,7 @@ class AzureGPT(LangChainChatLLM):
|
||||
"presence_penalty": 0,
|
||||
},
|
||||
verbose=should_be_verbose(),
|
||||
max_retries=0, # retries are handled outside of langchain
|
||||
)
|
||||
|
||||
@property
|
||||
|
@@ -34,6 +34,7 @@ class OpenAIGPT(LangChainChatLLM):
|
||||
"presence_penalty": 0,
|
||||
},
|
||||
verbose=should_be_verbose(),
|
||||
max_retries=0, # retries are handled outside of langchain
|
||||
)
|
||||
|
||||
@property
|
||||
|
Reference in New Issue
Block a user