mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-13 05:28:59 +08:00
fix: gemini timeout error (#4955)
This commit is contained in:
parent
7fa735a43b
commit
5cdb95be1f
@ -204,6 +204,7 @@ class GoogleLargeLanguageModel(LargeLanguageModel):
|
|||||||
stream=stream,
|
stream=stream,
|
||||||
safety_settings=safety_settings,
|
safety_settings=safety_settings,
|
||||||
tools=self._convert_tools_to_glm_tool(tools) if tools else None,
|
tools=self._convert_tools_to_glm_tool(tools) if tools else None,
|
||||||
|
request_options={"timeout": 600}
|
||||||
)
|
)
|
||||||
|
|
||||||
if stream:
|
if stream:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user