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

オープン
#576 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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分
マージ済み PR(30日)
9

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MiniMax-AI/minimax-code のほかの issue

MiniMax-AI/minimax-code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。