| 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: |