[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 摘要。