**修复的问题:** - 添加 convertToModelMessages 转换 UIMessage 到 CoreMessage 格式 - 使用 ToolLoopAgent 替代 streamText 以正确处理工具调用 - 使用 SONNET 模型 (glm-4.7) 替代 Haiku 以获得更好的工具调用能力 **测试结果:** - ✅ 翻译功能正常工作 - ✅ MCP 工具被正确调用 - ✅ 流式响应正确渲染 Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>