From 956ed28cb9dc52df84ce76cf004386b66242600b Mon Sep 17 00:00:00 2001 From: Sinyo <38577585+SinyoWong@users.noreply.github.com> Date: Tue, 18 Feb 2025 10:09:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=B3=E8=BF=87=20DeepSeek-R1=20=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E7=9A=84=E6=B7=B1=E5=BA=A6=E6=80=9D=E8=80=83=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/providers/llm/openai/openai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/providers/llm/openai/openai.py b/core/providers/llm/openai/openai.py index 6090c0c21..ceeb7e808 100644 --- a/core/providers/llm/openai/openai.py +++ b/core/providers/llm/openai/openai.py @@ -25,7 +25,7 @@ class LLMProvider(LLMProviderBase): messages=dialogue, stream=True ) - is_active = True + is_active = True for chunk in responses: # 检查是否存在有效的choice且content不为空 delta = chunk.choices[0].delta if chunk.choices else None