改进: - 当 ASSISTANT 消息同时包含 text 和 tool_calls 时 - 先发送 assistant_message 事件(text) - 再发送 tool_call 事件(tool_calls) 用户体验: - 更符合自然对话流程 - AI 先说明要做什么,再执行工具调用 - 例如:"我现在帮您查询..." → 🔧 调用工具 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
改进: - 当 ASSISTANT 消息同时包含 text 和 tool_calls 时 - 先发送 assistant_message 事件(text) - 再发送 tool_call 事件(tool_calls) 用户体验: - 更符合自然对话流程 - AI 先说明要做什么,再执行工具调用 - 例如:"我现在帮您查询..." → 🔧 调用工具 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>