mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-26 17:51:54 +01:00
Disable langchain retries
This commit is contained in:
parent
cea3e1f3d5
commit
a6ea40714e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user