EastonJiang
11f38624cd
fix+perf: 绘图中文字体修复、进度自动跟踪、未验证配置刷爆日志 ( #102 )
...
* fix: 加固 Docker matplotlib 中文字体配置
Co-authored-by: Cursor <cursoragent@cursor.com >
* fix: 提前读取路径
* perf: 进度时间线与代码执行区自动跟踪最新消息
Co-authored-by: Cursor <cursoragent@cursor.com >
* fix: 未验证模型配置直接启动任务时无限重试刷爆日志
- 前端保存配置时始终推送到后端,不再依赖验证通过
- 后端 workflow 入口预校验四个 Agent 的 model/apiKey
- _validate_config 改抛 LLMConfigError 避免被 JSON 重试捕获
- coordinator/modeler 的 JSON 解析重试加上限 (MAX_JSON_RETRIES=3)
Co-authored-by: Cursor <cursoragent@cursor.com >
---------
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-20 10:31:33 +08:00
Celyn
9633ee1f7b
feat(task): 添加任务停止运行功能 ( #79 )
...
- 后端:新增 POST /modeling/{task_id}/cancel 取消接口
- 后端:实现 asyncio.Event 取消机制,支持中断 LLM 调用
- 前端:任务详情页添加"停止运行"按钮
- 修复:取消后避免调用 md_2_docx 的错误
2026-05-18 10:41:32 +08:00
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
Jiangming Zhong
d5428a2a2e
feat: 新增 Web Search 工具 + 统一 tool_registry 分发 ( #68 )
...
主要功能:
- Web Search: Tavily API 搜索互联网获取真实数据,注册为 search_web 工具
- 统一工具注册: tool_registry 替代 if/elif 硬编码分发
- Evidence 数据模型: DataEvidence 结构化搜索结果
编排层(workflow.py)集成:
- Web Search 初始化与动态工具注册
- RAG 知识库检索与注入
- HIL 人机协作检查点
- Fallback Hand Off 容错机制
- Evaluator + Feedback Rerun 质量保障
新增配置:TAVILY_API_KEY / SEARCH_ENABLED / SEARCH_CACHE_TTL
所有功能均有独立开关,未配置时行为与升级前一致。
2026-05-13 14:13:58 +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
流年忆倾城
c65a7eb92d
fix: 刷新页面后恢复任务状态 ( #58 )
...
Co-authored-by: grey <grey@greydeMacBook-Air.local >
2026-04-30 23:18:41 +08:00
MuWinds
d8457da78b
Feat:将原本前端如果不上传数据就不进行解答的逻辑改成二次确认对话框 ( #39 )
...
* Fix:RedisManager to handle connection errors during client initialization
* Update: Enhance error handling and retry logic in CoordinatorAgent's run method
* feat: add file confirmation dialog to prevent submission without uploaded files
2025-09-16 23:30:24 +08:00
Sanjin
7782c0c837
status ( #38 )
2025-09-14 17:08:55 +08:00
Sanjin
25afa12a0c
update
2025-09-04 16:00:33 +08:00
Sanjin
e34b52caf9
update social
2025-09-04 00:03:21 +08:00
Sanjin
b39b78dcee
update readme
2025-09-03 19:54:41 +08:00
Sanjin
49c5d6349a
update readme , simplify config
2025-09-02 23:19:47 +08:00
Sanjin
22b46a36e4
简化配置
...
添加文件夹显示
2025-09-02 00:02:36 +08:00
Fan's Mac
3566a77622
mod ApiDialog.vue file,Add whitespace filtering: trim base URL and model ID, remove all spaces from API key
2025-08-31 22:29:48 +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
25dfb5078f
fix bug: tool_calls match tool response
...
fix bug: tool_calls match tool response
modify: the method of memory manage
add : timer
2025-06-24 00:26:57 +08:00
Sanjin
a1a6b010c3
modify
...
modify
2025-05-26 22:41:57 +08:00
Sanjin
2862fcdf07
fix bug
2025-05-24 15:10:20 +08:00
Sanjin
cdc03f4010
update frontend
2025-05-24 15:09:26 +08:00
Sanjin
31007b9713
backup
2025-05-24 14:24:38 +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
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
eaa7c092e9
feat: index ,chat
...
add index page
add some examples in chat page
2025-05-10 14:47:32 +08:00
Sanjin
6cbaa3d7b8
add
...
add
2025-05-09 21:24:09 +08:00
Sanjin
190dc98762
init
...
init
2025-05-05 23:47:52 +08:00