|
|
fdd7f47305
|
系统提示词精简,拆分固定部分与可变部分,固化工具skill顺序,提升缓存命中率
|
2026-06-17 23:25:28 +08:00 |
|
|
|
8f4ee79d8d
|
Format codebase with rustfmt
|
2026-06-15 23:47:24 +08:00 |
|
|
|
3df628bd28
|
补充/info信息
|
2026-05-29 16:23:35 +08:00 |
|
|
|
a77c026826
|
增加deepseek的支持。
|
2026-05-25 17:40:17 +08:00 |
|
|
|
ac2c1e0fe0
|
chore: fix clippy lints and suppress dead_code warnings
|
2026-05-10 23:26:55 +08:00 |
|
|
|
c81b1e42c7
|
feat(skills): enhance SkillsLoader to support workspace skills directory and update skills loading logic
feat(get-skill): add action parameter for skill retrieval and implement skill listing functionality
fix(session): adjust skills prompt formatting for improved clarity
|
2026-05-10 17:45:34 +08:00 |
|
|
|
bafa7a606c
|
fix: update database filename and improve session management in chat manager
|
2026-05-10 15:51:03 +08:00 |
|
|
|
e65130450e
|
feat(compressor): return CompressionResult with created_timelines flag, record marker in handle_message and /compact
|
2026-05-10 14:40:13 +08:00 |
|
|
|
f9ae4b2c69
|
fix(context): 全面修复和增强上下文压缩机制
Bug修复:
- fast_trim 死代码: 去掉 .clone() 使其真正修改原 history
- compress_once 边界错误: 第一条 user 重复 + 最后一条 user 丢失
- handle_cron_message 遗留的重复压缩调用
新特性:
- System prompt 不参与压缩,在压缩后注入
- 孤儿 tool 清理: compress_once 返回前修复 tool 对完整性
- Agent Loop 内每轮 token 检查: 80% 窗口阈值时预裁剪旧 tool 输出
- 上下文溢出恢复: 解析 LLM 错误中的实际 token limit 并降级重试
- 硬截断降级: tokens > 90% context_window 时 head+tail 保底
- parse_context_limit_from_error: 支持 OpenAI/Anthropic/llama.cpp 格式
测试: 新增 6 个单元测试覆盖上述所有场景
|
2026-05-10 12:23:26 +08:00 |
|
|
|
488e10dceb
|
fix: advance last_consolidated_at after compression, update docs
|
2026-05-08 21:56:05 +08:00 |
|
|
|
5d62141658
|
1、修复和提升记忆系统 2、简化消息标记
|
2026-05-08 15:09:27 +08:00 |
|
|
|
2617558a27
|
记忆工具合并文件,改成记忆系统总是开启。
|
2026-05-08 10:28:34 +08:00 |
|
|
|
c602a0695d
|
feat: add memory system with FTS5 search and context compression integration
|
2026-05-07 23:32:59 +08:00 |
|
|
|
84bb06cc76
|
优化日志输出:斜杠命令执行时打印,过滤冗余的压缩日志
- 添加斜杠命令执行的 info 日志
- Context compression 日志只在实际触发压缩时输出 (debug级别)
|
2026-04-28 20:52:20 +08:00 |
|
|
|
81dcc67932
|
compressor不再使用独立的LLMProvider实例。减少开销
|
2026-04-24 10:04:21 +08:00 |
|
|
|
c971bc3639
|
feat: 添加上下文压缩功能,优化消息历史管理和工具调用日志记录
|
2026-04-12 18:38:38 +08:00 |
|