mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-17 11:07:11 +08:00
fix: address Bash streaming review feedback
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user