Context Window Visual Reference.
还没有人认领这个 Issue。
评估
调研方向
该 issue 提供了视觉参考,但没有指出文件、测试或入口点。首先找到现有的上下文使用百分比显示,并确认 token 使用量的计算方式;完成的标准是在所描述的两种使用场景中显示已使用上下文和可用上下文的原始数值。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- 没有语言数据
- 星标
- 4k
- 派生
- 350
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CommandCodeAI/command-code 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/command-code#855 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
CommandCodeAI/command-code#841 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/command-code#655 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
CommandCodeAI/command-code#608 ·
-
难度 3/5 1-2 天 新手友好度 70/100
CommandCodeAI/command-code#893 ·
查看 CommandCodeAI/command-code 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 68/100
JuliusBrussee/caveman#1102 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
use-agent-os/agent-os#3263 ·
-
[Bug]: context-limit error parsing has no pattern for llama.cpp's "context size (N tokens)" phrasing 未关闭area/compression area/local-models area/sessions comp/agent duplicate P2 sweeper:risk-session-state type/bug
难度 2/5 1-3 小时 新手友好度 82/100
NousResearch/hermes-agent#117793 · 1 条评论 ·
-
possible bug
难度 2/5 1-3 小时 新手友好度 88/100
Mintplex-Labs/anything-llm#6415 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 82/100