There was an error while loading. Please reload this page.
1 parent 80945ed commit a91e49fCopy full SHA for a91e49f
1 file changed
openevolve/llm/openai.py
@@ -157,6 +157,7 @@ async def generate_with_context(
157
"temperature": kwargs.get("temperature", self.temperature),
158
"top_p": kwargs.get("top_p", self.top_p),
159
"max_tokens": kwargs.get("max_tokens", self.max_tokens),
160
+ "stream": False, # Explicitly request non-streaming responses to avoid SSE issues
161
}
162
163
# Handle reasoning_effort for open source reasoning models.
0 commit comments