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

Abierto
#576 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
desktop

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
2.3k
Forks
315
Merge medio
3 h 54 min
PR fusionados (30 d)
9

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de MiniMax-AI/minimax-code

Todos los issues de MiniMax-AI/minimax-code

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.