Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion astrbot/core/provider/sources/anthropic_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ async def _query_stream(
id=id,
)
except json.JSONDecodeError:
# JSON 解析失败,跳过这个工具调用
# JSON 解析失败,跳过这个工具调用,不 yield
logger.warning(f"工具调用参数 JSON 解析失败: {tool_info}")

# 清理缓冲区
Expand Down
Loading