Display real-time session and context metrics to improve user awareness, cost control.

未關閉
#474 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 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

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CommandCodeAI/command-code 的其他 Issue

查看 CommandCodeAI/command-code 的全部 Issue

相似的 Issue

更多 CLI Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。