fix: address Bash streaming review feedback

This commit is contained in:
yangziyu-hhh
2026-06-12 13:45:39 +08:00
parent 402e2bfee0
commit 075d9fc608
4 changed files with 227 additions and 10 deletions

View File

@@ -439,7 +439,7 @@ class WebChannel(ChatChannel):
"type": "tool_progress",
"tool_call_id": data.get("tool_call_id"),
"tool": data.get("tool_name", "tool"),
"content": str(data.get("message", ""))[-32 * 1024:],
"content": str(data.get("message", ""))[-4 * 1024:],
})
elif event_type == "tool_execution_end":