 hughhuangandClaude Sonnet 4.5
|
0260bc35cf
|
docs: 添加项目文档和更新 .gitignore
- 添加 WEB_DEMO_README.md 项目说明文档
- 更新 .gitignore 忽略 Python、Maven 产物
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-01-29 20:58:37 +08:00 |
|
 hughhuangandClaude Sonnet 4.5
|
581f731de3
|
feat: 集成 MCP 工具支持
- 添加 spring-ai-starter-mcp-client 依赖
- 创建 Node.js MCP 服务器(risk-cost-server)
- 在 Application.java 中配置 MCP 工具回调
- 添加 get_customer_risk_cost 工具(返回 1.2%-2.5% 的风险成本率)
- 支持通过 FunctionToolCallback 调用 MCP 工具
- 更新系统提示,指导 AI 使用 MCP 工具
- 降级 Spring AI 到 1.1.2 版本
技术实现:
- 使用 FunctionToolCallback 包装 MCP 工具
- 通过 Stdio 方式与 MCP 服务器通信
- JSON-RPC 协议调用工具
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-01-29 20:58:16 +08:00 |
|
 hughhuangandClaude Sonnet 4.5
|
c6f3eef29b
|
feat: 添加工具调用可视化和 LLM 日志记录
- 添加 ToolCallCaptureAdvisor 捕获工具调用信息
- 添加 LLMLoggingAdvisor 记录 LLM 请求响应到日志文件
- 修改 MyLoggingAdvisor 支持与 ToolCallCaptureAdvisor 协作
- 前端显示工具调用过程(名称、参数、结果)
- 日志文件按日期归档到 logs/llm/
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-01-29 20:57:39 +08:00 |
|
 hughhuangandClaude Sonnet 4.5
|
13181ef406
|
feat: 将控制台应用改造为 Web 聊天界面
- 添加 ChatController 提供 REST API(流式/非流式聊天)
- 添加 ChatService 封装 ChatClient 调用逻辑
- 添加前端聊天界面(index.html、style.css、chat.js)
- 支持 SSE 流式响应和多轮对话记忆
- 集成 Markdown 渲染和代码高亮
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-01-29 20:57:28 +08:00 |
|
 hughhuangandClaude Sonnet 4.5
|
6b4a347688
|
初始化 Spring AI Skills Demo 项目
- 配置使用智谱 AI (GLM-4.7) 替代 Google GenAI
- 添加 Spring Web 依赖支持 RestClient
- 创建 Java/Maven 项目的 .gitignore
- 集成 SkillsTool、ShellTools、FileSystemTools 等工具
- 包含多个定价策略相关的 AI Skills
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-01-29 11:44:29 +08:00 |
|