Browse Source

fix: gemini timeout error (#4955)

tags/0.6.11
Joe 1 year ago
parent
commit
5cdb95be1f
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      api/core/model_runtime/model_providers/google/llm/llm.py

+ 1
- 0
api/core/model_runtime/model_providers/google/llm/llm.py View File

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…
Cancel
Save