We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 650a092 commit 1ab2fa1Copy full SHA for 1ab2fa1
1 file changed
astrbot/dashboard/routes/chat.py
@@ -469,13 +469,13 @@ async def stream():
469
if tc_id in tool_calls:
470
tool_calls[tc_id]["result"] = tcr.get("result")
471
tool_calls[tc_id]["finished_ts"] = tcr.get("ts")
472
- accumulated_parts.append(
473
- {
474
- "type": "tool_call",
475
- "tool_calls": [tool_calls[tc_id]],
476
- }
477
- )
478
- tool_calls.pop(tc_id, None)
+ accumulated_parts.append(
+ {
+ "type": "tool_call",
+ "tool_calls": [tool_calls[tc_id]],
+ }
+ )
+ tool_calls.pop(tc_id, None)
479
elif chain_type == "reasoning":
480
accumulated_reasoning += result_text
481
elif streaming:
0 commit comments