CommandCodeAI / CommandCodeAI/command-code
Context Window Visual Reference.
未关闭
还没有人认领这个 Issue。
p2
- 主要语言
- 没有语言数据
- 星标
- 4k
- 派生
- 350
- PR 合并指标
- 30 天内没有已合并 PR
描述
Feature Description
A small indicator of available/used context window instead of the current implementation which uses Percentage of context used rather than raw numbers. Also the current context is hidden if usage is below 80%.
Use Case
Reason for asking such a feature:
- Sometimes adding and downloading skills can bloat the context window by a magnitude and degrade code quality and debugs. Being able to visually see the context windows is a blessing in disguise that can help tackle such issues.
- Prompting long contexts on a models can be heavy based on the task and its complexity, giving a model longer task even at smaller context left can degrade its code quality if it is already in the middle of a code. Having a reference of context window helps in planning the prompts a little bit better and in patches.
I’ve added some visual references to the minified code to get it working for me. I’d appreciate it if they could be used as a reference.
Scenario 1: < 80% token context usage
Scenario 2: > 80% token context usage
Additional Context
No response
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
该 issue 提供了视觉参考,但没有指出文件、测试或入口点。首先找到现有的上下文使用百分比显示,并确认 token 使用量的计算方式;完成的标准是在所描述的两种使用场景中显示已使用上下文和可用上下文的原始数值。
由索引模型根据 Issue 内容生成。
评估
- 领域
- ai, cli
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100