jack 2 ماه پیش
والد
کامیت
44bb3ef34e
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/core/runner/thread_runner.py

+ 1 - 1
app/core/runner/thread_runner.py

@@ -153,7 +153,7 @@ class ThreadRunner:
             model=run.model,
             tools=[tool.openai_function for tool in tools],
             tool_choice="auto" if len(run_steps) < self.max_step else "none",
-            stream=run.stream,
+            stream=True,
             stream_options=run.stream_options,
             extra_body=run.extra_body,
             temperature=run.temperature,