12 Commits
Author SHA1 Message Date
MuWinds ac57ad0c18 refactor: 重构 LLM Provider 模式、WebSocket 重连、图表字体跨平台兼容 (#70)
LLM 层重构:
- 将 LLM 调用层重构为 Provider 模式,支持多 API 类型
- 新增 Anthropic、OpenAI Chat、OpenAI Responses 三种 Provider
- 新增 LLM 类型定义和工厂类

WebSocket 重连:
- 添加指数退避自动重连机制(初始 1s,最大 30s,最多 10 次)
- 区分手动关闭与意外断开,仅意外断开触发重连
- 在任务页面顶部添加连接状态指示灯(绿/黄/红)

图表字体跨平台兼容:
- 在 backend/fonts/ 存放 SimHei 字体文件
- create_work_dir() 自动复制字体到任务工作目录
- 两个解释器从工作目录动态加载字体
- E2B 移除 apt-get install 依赖,改用上传字体文件
- 统一三处字体优先级配置

其他:
- 重构注释规范、修复类型错误、添加 lint hook
- 更新 CLAUDE.md 项目文档
2026-05-15 10:04:47 +08:00
MuWinds 5305754f0b refactor: 重构注释规范、修复类型错误、添加 lint hook 和 CLAUDE.md (#66)
- 后端按 Google Python Style Guide 重构注释,修复 ruff 和 pyright 错误(161→0)
- 前端按 Vue.js Style Guide 重构注释,修复 biome 错误
- 添加 PostToolUse lint hook(ruff + biome 自动检查)
- 更新 CLAUDE.md 覆盖 Commands/Testing/Structure/CodeStyle/GitWorkflow/Boundaries
- 修复 tsconfig.json 废弃的 baseUrl 配置
2026-05-11 23:02:39 +08:00
流年忆倾城andgrey c65a7eb92d fix: 刷新页面后恢复任务状态 (#58)
Co-authored-by: grey <grey@greydeMacBook-Air.local>
2026-04-30 23:18:41 +08:00
Sanjin 1921f9da0c feat: apikeydialog
add apikeydialog 在网页配置 apikey
不需要再环境变量
update docker file and github action
change prompt
跳过问题核验导致不非数学建模问题
2025-08-18 14:41:40 +08:00
Sanjin 448807277a add
add
2025-06-16 19:56:32 +08:00
Sanjin f7db538240 bug fix 2025-05-24 13:44:08 +08:00
Sanjin 2595af63d3 add : modeler
add : modeler
2025-05-21 15:11:03 +08:00
Sanjin abb17af5a6 update
update
2025-05-19 20:31:56 +08:00
Sanjin db5f46987f modify
modify
2025-05-17 18:28:45 +08:00
Sanjin ba3466c594 support all model
support all model
2025-05-12 13:30:41 +08:00
Sanjin 5450f95d12 md_2_docx
md_2_docx
2025-05-09 15:54:21 +08:00
Sanjin 190dc98762 init
init
2025-05-05 23:47:52 +08:00