Commit Graph

4 Commits

Author SHA1 Message Date
MingNian
0e7f0a0b80 test: 修复 AI 智能体测试,28/28 全部通过
- 修复 DeepSeekClient 测试的 Authorization header 缺失
- 简化默认 Agent 测试断言,不再检查特定名称
- 新增 API Key 配置检查测试
2026-06-02 13:20:59 +08:00
MingNian
e20fc91b95 test: 添加 AI 智能体集成测试(28 个用例)
- PromptManager 7 个 Agent 的 System Prompt 验证
- DeepSeekClient 连通性测试
- 5 个 Agent 的端到端 SSE 对话测试:
  记数据(血压/心率录入+Tool Calling)
  药管家(用药查询)
  AI 问诊(症状追问)
  默认 Agent(自我介绍)
- 通过后端 API 真实调用 DeepSeek 验证 Tool Calling 逻辑
2026-06-02 13:09:40 +08:00
MingNian
6e69f1085e chore: 全面规范化代码,遵循 CLAUDE.md 编码规范
- C# 文件命名改为 snake_case(28 个文件重命名)
- C# 类转换为主构造函数(8 个类)
- 空 catch 添加异常类型(2 处)
- 新建 GlobalUsings.cs(Health.Infrastructure、Health.WebApi)
- Flutter 移除 go_router,改用 Riverpod 路由栈
- Flutter 移除 flutter_secure_storage,改用 sqflite 持久化
- 修复 Flutter 构建路径(Flutter SDK 迁至 D 盘)
- 后端端口改为 0.0.0.0:5000,支持局域网访问
2026-06-02 12:41:06 +08:00
MingNian
14d7c30d3d Initial commit: 健康管家 AI 健康陪伴助手
- Backend: .NET 10 Minimal API + EF Core + PostgreSQL
- Frontend: Flutter + Riverpod + GoRouter + Dio
- AI: DeepSeek LLM + Qwen VLM (OpenAI-compatible)
- Auth: SMS + JWT (access/refresh tokens)
- Features: AI chat, health tracking, medication management, diet analysis, exercise plans, doctor consultations, report analysis
2026-06-02 11:11:29 +08:00