jack 2 달 전
부모
커밋
6d75d84ed5
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=True,
+            stream=run.stream,
             stream_options=run.stream_options,
             extra_body=run.extra_body,
             temperature=run.temperature,