|
|
0270e17a76
|
fix: 修复 context_rewrite 工具调用问题并优化系统提示词
1. 修复 context_rewrite 导致的 API 错误
- 删除错误的 tool 结果消息添加逻辑
- 添加 context_compressed 标记让 AI 识别压缩结果
- 将 context_rewrite 记录到 tool_calls 以便 TUI 显示
2. 优化系统提示词
- 添加强制触发条件:每5次记忆工具调用必须调用 context_rewrite
- 强化指代词处理规则:必须通过工作记忆链解析
- 扩展时间指代词:添加刚刚
- 更新执行检查清单
Generated with CodeArts Agent
|
2026-04-16 23:27:35 +08:00 |
|
|
|
2aa6e9240f
|
feat: 添加 context_rewrite 工具并清理工具限制器死配置
- 新增 context_rewrite 工具:允许 AI 在单轮内压缩工具调用上下文
- 清理 persona_query_max 和 task_query_max 死配置(commit 9be60ba 引入)
- 同步全栈:后端/前端/文档/测试 18 个文件
- 测试:70/70 通过
|
2026-04-16 14:33:21 +08:00 |
|
|
|
535fca933a
|
fix: 修复工具调用限制器误判问题并优化记忆查询
1. 工具调用限制器修复 - 移除memory_recall关键词智能分类,统一归类为一般记忆查询
2. 工作记忆链限制调整 - 修改限制从2次/轮到5次/轮
3. 广度优先搜索实现 - 修复depth参数被忽略问题,添加深度标注
4. 提示词优化 - 新增强制执行顺序说明,明确task_link_info使用场景
Generated with CodeArts Agent
|
2026-04-16 08:35:54 +08:00 |
|
|
|
83906a6985
|
refactor: restructure to core/ + ui/ with multi-threaded backend
|
2026-04-12 18:15:55 +08:00 |
|