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

Aberta
#576 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
30/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
typescript
Domínio
desktop

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
TypeScript
Estrelas
2.3k
Forks
315
Merge médio
3h 54min
PRs com merge (30d)
9

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de MiniMax-AI/minimax-code

Todas as issues de MiniMax-AI/minimax-code

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.