Files
spring-ai-skill/src/main
hughhuangandClaude Sonnet 4.5 534510674a fix: 调整事件发送顺序,先展示 text 再展示 tool_calls
改进:
- 当 ASSISTANT 消息同时包含 text 和 tool_calls 时
- 先发送 assistant_message 事件(text)
- 再发送 tool_call 事件(tool_calls)

用户体验:
- 更符合自然对话流程
- AI 先说明要做什么,再执行工具调用
- 例如:"我现在帮您查询..." → 🔧 调用工具

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-30 18:22:00 +08:00
..