[Feature]: Display the number of spent `credits`

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

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
30/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
typescript
領域
desktop

研究方向

The payload names no files, tests or entry points, so start by finding where the app already reads credit or usage data and where per-response and conversation-level UI is rendered. The issue leaves open whether credits appear per response or in a bottom status line, so confirm that choice with the maintainers first. Done means a conversation shows the credits it has spent, in whichever location is agreed.

由索引模型根據 Issue 內容生成。

描述

desktop enhancement needs-triage
Product or interface

Desktop app


Use case and problem

I noticed that there is currently no mechanism for checking how many credits you have spent in a specific conversation and throughout its individual stages.

The problem is that you can check this manually in the console or on the website, but this is distracting, and you need to know your usage and constantly cross-reference it.

Therefore, I am separating this from the question of how much was spent per day, month, year, and so on. This particular issue is not about that, but about the session itself.


Desired behavior

Usually, you can choose different models, and everything also depends on the complexity of the task. Therefore, you often have to check how many credits a particular task consumed, especially if you are limited by your available credits.

I expect users to be able to see this either for each response or at the bottom of the conversation.

For each response, you could display how many credits were spent. Alternatively, if displayed at the bottom of the conversation, you could conveniently show used/total, so users would not need to check anything using commands at all.

The only purpose left for the command would be to check usage over longer periods. This is a narrower use case than seeing how much you have spent at the moment. In other words, it is much more useful to see how much is being spent right now, while the command is more suited for large-scale usage statistics.


Platform

Multiple platforms


Additional context

By the way, the bottom line is currently straight and gets shortened. We could consider splitting it into a couple of lines depending on the available space and giving it a cleaner, more visually appealing layout (with proper alignment). This would be convenient because there may be more information to display, and overall it would be easier to understand than using rough abbreviations.

Additionally, I know that allowing users to enable or disable such suggestions through settings is considered good practice, in case you don't want to make this a default feature. Although, in my opinion, it's a very useful feature for regular users.

主要語言
TypeScript
星號
2.3k
分支
315
平均合併
3 小時 54 分鐘
30 天內合併 PR
9

環境準備

從這裡開始

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

MiniMax-AI/minimax-code 的其他 Issue

查看 MiniMax-AI/minimax-code 的全部 Issue

相似的 Issue

更多 TypeScript Issue

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

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