Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

[Bug]: Rounding on token usage causes us to display 0 in situations where there is 3+ decimals in the float #296

Description

@lxmcgvrn

Feedback from @danbarr

Should we remove the cost indicator from the token usage tooltip until we actually have the cost features in place? Seeing "USD 0.00" the natural next question is "how do I set costs?"
this was with OpenAI directly. Was thinking we maybe just needed more precision than two decimals, but at 0.00003/token, 1.6k tokens should round to $0.05?
Might be useful to also extend the precision out one more decimal, for smaller requests?

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions