tokenFactory/.codebuddy/memory/2026-06-01.md

13 lines
915 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 2026-06-01
## 项目架构文档生成
- 完整分析了项目所有模块、目录结构、API端点、数据模型、前端路由等关联关系
- 生成了 `TokenFactory_Architecture_Doc.docx` (35.7KB) 和中文版 `TokenFactory_Architecture_Doc_CN.docx` (29.8KB)
- 涵盖: 项目概述、路由模块(5个子路由器)、70+个API端点、40+个Relay适配器、数据模型、服务层、中间件、配置模块、通用工具、OAuth、DTO、前端页面路由(30+页面)、i18n、构建部署
## 阿里渠道添加 Qwen3.7-Max 模型
- 修改了 `relay/channel/ali/constants.go`ModelList 添加 "qwen3.7-max"
- 修改了 `setting/ratio_setting/model_ratio.go`defaultModelRatio 添加倍率 10与 qwen-plus 相同)
- 模型名含"qwen",自动适配 Claude Anthropic 接口和 OpenAI 兼容接口,无需改 adaptor
- 需要重建镜像并在数据库 ModelRatio 中同步配置才能生效