chengma
|
5469479f3e
|
build: use branded release package names
|
2026-07-08 14:21:31 +08:00 |
|
 chengmaandClaude Opus 4.8
|
5a09c6662e
|
feat: cmhub shared Session + connection pool + proxy handling (T-546)
- app/ai.py: 模块级共享 requests.Session + HTTPAdapter 连接池
(CMHUB_HTTP_POOL_SIZE=32);_apply_cmhub_proxy() 切换 trust_env;
生成/下载/models/balance 统一复用该 Session。
- app/appconfig.py: ai.cmhub.use_system_proxy 默认 false(绕过系统代理)。
- tests/test_ai.py: 补 Session 复用/代理/连接池测试;原 18 处 cmhub mock
从模块级 requests 改到共享 Session。
- docs: troubleshooting 加「图片下载很慢」排障节;06-tasks 标 T-546 DONE。
附带:把 app/ai.py 行尾从 CRLF 归一为 LF;并一并纳入工作区中此前未提交、
已在运行构建里的 cmhub 下载诊断代码(调试图片 URL 日志、下载重试事件),
无法与 T-546 在同一文件内拆分单独提交。243 单测全绿。
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-07-08 00:15:43 +08:00 |
|
chengma
|
7838554c3d
|
feat: add versioned release packaging
|
2026-07-07 14:21:30 +08:00 |
|
chengma
|
148c4a73eb
|
feat: store packaged user data under data directory
|
2026-07-07 14:12:32 +08:00 |
|
chengma
|
caa04a9aa7
|
fix: fit main window within screen on startup
|
2026-07-07 12:06:17 +08:00 |
|
chengma
|
0dad4151ef
|
feat: complete T-105b account login reuse
|
2026-07-06 15:01:50 +08:00 |
|
chengma
|
7ac0dcd00e
|
fix: clarify AI generation failure retry states
|
2026-07-06 11:58:51 +08:00 |
|
chengma
|
b99019e954
|
feat: complete T-530 cmhub URL normalization
|
2026-07-06 10:31:36 +08:00 |
|
 chengmaandClaude Opus 4.8
|
42dd8a993f
|
docs: diagnose cmhub 刷新别名 notfound and add T-530
- troubleshooting.md: 新增「⑤ cmhub 刷新别名/测试连接 notfound(404)」排障节,确认请求达标,给 curl 隔离法(models vs balance)
- cmhub-integration-design.md: §4.1 补 Base URL 必须为网关根约束 + v3.4 核对记录
- 06-tasks.md: 新增 T-530(Base URL 规整 + 404 明确提示)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-07-06 09:58:49 +08:00 |
|
 chengmaandClaude Opus 4.8
|
c8a5e9ada8
|
docs: add cmhub AI gateway integration design and sync docs
- 新增 docs/cmhub-integration-design.md(v3.2):对接 cmhub 生文/生图/余额/别名发现接口的设计、迁移策略、错误与重试、待确认项
- docs/06-tasks.md:新增 Phase 7(T-526~T-528)AI 网关对接任务,补充别名动态下拉与 fetch_cmhub_models helper;相关文档索引与工程/打包任务同步
- 同步 README/03-tech-stack/current-state/packaging/troubleshooting/ux-review 文档
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-07-04 10:56:08 +08:00 |
|
chengma
|
cd1256bc5e
|
feat: add diagnostic logs for generation flows
|
2026-06-29 17:49:45 +08:00 |
|
chengma
|
3a79e34eab
|
docs: 记录AI模型category启动报错排查
- 新增 troubleshooting 文档,说明 category 缺失导致启动失败的原因
- 补充安全修复步骤,避免泄露或提交 config/ai_models.json 中的 API Key
- 更新文档导航、技术栈、当前状态和进度记录
|
2026-06-29 10:37:27 +08:00 |
|