Commit Graph

4 Commits

Author SHA1 Message Date
e5ea4ff359 feat: 更新数据库和后端服务
- 新增chat_sessions和chat_groups数据库表
- 更新skill_handler和model相关接口
- 修改main.go注册新路由

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 14:33:54 +08:00
0c63c3b44d feat: 支持 Embedding 模型连接测试
- 添加 model_type 字段区分 chat 和 embedding 模型
- 根据 model_type 使用不同的 API 端点和请求格式
- embedding 模型使用 /v1/embeddings 端点

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 17:18:30 +08:00
25d3781f06 feat: 优化 Model 连接测试,支持阿里云 DashScope
- 添加阿里云 provider 支持
- 添加连接超时 (10s)
- 优化 URL 构建逻辑
- 默认状态改为 inactive
- 添加详细日志

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 16:21:29 +08:00
aabdf81073 feat: 新增Model管理模块
- 添加 Model 实体定义
- 实现 Model CRUD 接口
- 添加 Model 仓储层和服务层

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 13:53:27 +08:00