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
-
area: compat bug
難度 2/5 1-3 小時 新手友好度 72/100
-
area: dogs bug priority: P3 silent failure test-code
難度 2/5 1-3 小時 新手友好度 88/100
-
難度 2/5 1-3 小時 新手友好度 84/100
phoenixframework/phoenix#6847 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
-
難度 2/5 1-3 小時 新手友好度 85/100
hust-open-atom-club/hustmirror-cli#52 · 1 則留言 ·