补充:在生成回答时不添加思考内容

This commit is contained in:
2026-05-15 15:40:30 +08:00
parent 7dfbe907af
commit 7998350e70

View File

@ -163,9 +163,6 @@ async def call_api_streaming(
content = delta.get("content")
if content:
full_content.append(content)
reasoning = delta.get("reasoning_content")
if reasoning:
full_content.append(reasoning)
except json.JSONDecodeError:
continue
except IndexError: