fix: gemini timeout error (#4955)

pull/4982/head
Joe 2 years ago committed by GitHub
parent 7fa735a43b
commit 5cdb95be1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -204,6 +204,7 @@ class GoogleLargeLanguageModel(LargeLanguageModel):
stream=stream,
safety_settings=safety_settings,
tools=self._convert_tools_to_glm_tool(tools) if tools else None,
request_options={"timeout": 600}
)
if stream:

Loading…
Cancel
Save