报告空格保留

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": "",
"type": ""
}
delta = chunks.get("delta", "").strip()
if delta:
delta = chunks.get("delta", "")
payload_out.update({
"type": chunks.get("type", ""),
"is_delta": True,