mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 03:16:51 +08:00
fix: gemini timeout error (#4955)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user