Display real-time session and context metrics to improve user awareness, cost control.
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 50/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 领域
- cli
调研方向
从 TUI 的聊天和会话显示开始,然后追踪现有的逐条消息响应数据,以获取上下文、令牌、成本和时间值。定义应如何显示会话总计和每步耗时,并验证显示内容会在对话过程中更新,并在新会话开始时重置。
由索引模型根据 Issue 内容生成。
描述
Feature Description
The TUI should display the following information in a visible and accessible section (e.g., below the chat box or at the top):
Context Usage
- Current context usage vs total available context (e.g., 12K / 32K tokens)
Token Metrics
- Total input tokens
- Total output tokens
- Cached tokens (if applicable)
Cost Tracking
- Total cost incurred during the session (in $)
Time metrics
- Total time elapsed for each step/message in a conversation
- Time elapsed since the session started or last reset
Use Case
- Helps users monitor context limits
- Improves cost transparency and control
- Enables users to decide when to start a fresh session instead of continuing with an overloaded one
Additional Context
No response
How important is this to you?
None
- 主要语言
- 没有语言数据
- 星标
- 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
-
难度 2/5 1-3 小时 新手友好度 65/100
qgis/QGIS-Documentation#11275 ·
-
难度 1/5 1 小时以内 新手友好度 92/100
milvus-io/birdwatcher#545 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
-
area:tools bug good first issue help wanted priority:P2
难度 2/5 1-3 小时 新手友好度 90/100
TaewoooPark/Motifcode#14 ·
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
newrelic-experimental/preflight#793 · 1 条评论 ·