Disable langchain retries

This commit is contained in:
Weves 2023-08-30 13:59:30 -07:00 committed by Chris Weaver
parent cea3e1f3d5
commit a6ea40714e
2 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@ class AzureGPT(LangChainChatLLM):
"presence_penalty": 0,
},
verbose=should_be_verbose(),
max_retries=0, # retries are handled outside of langchain
)
@property

View File

@ -34,6 +34,7 @@ class OpenAIGPT(LangChainChatLLM):
"presence_penalty": 0,
},
verbose=should_be_verbose(),
max_retries=0, # retries are handled outside of langchain
)
@property