报告空格保留

This commit is contained in:
zcr
2026-03-13 17:11:58 +08:00
parent 6b4b6fd37c
commit 91688b1686

View File

@@ -247,8 +247,7 @@ async def chat_stream(request: DeepAgentChatRequest):
"content": "", "content": "",
"type": "" "type": ""
} }
delta = chunks.get("delta", "").strip() delta = chunks.get("delta", "")
if delta:
payload_out.update({ payload_out.update({
"type": chunks.get("type", ""), "type": chunks.get("type", ""),
"is_delta": True, "is_delta": True,