CommandCodeAI / CommandCodeAI/desktop
[Bug]: Conversation not compacting
未关闭
还没有人认领这个 Issue。
bug
- 主要语言
- Shell
- 星标
- 80
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
描述
GUI version
0.1.35
Operating system
Linux (other)
Reproduction steps
- Open Command Code
- Get into a conversation
- run /compact
Expected behavior
It should compact the conversation in order to save tokens
Actual behavior
It isn't compacting the conversation and prints "Compacted to n messages to n+1 messages, saved 0 tokens" just like the attached screenshot
Screenshots, recordings, or sanitized logs
No response
Safety check
- I removed credentials and private project information from this report.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先从桌面 GUI 跟踪 /compact 命令,并检查会话压缩和令牌计数路径。使用 GUI 版本 0.1.35 在 Linux 上重现该问题,然后验证 /compact 会缩短会话,并报告节省的令牌数而不是零。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- desktop
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 65/100