@@ -81,7 +81,7 @@ func ModelInfo(t *styles.Styles, modelName, providerName, reasoningInfo string,
8181 if providerName == hyper.DisplayName && hyperCredits != nil {
8282 hcInfo := t.ModelInfo.HypercreditIcon.Render(styles.HypercreditIcon)
8383 hcInfo += " "
84− hcInfo += t.ModelInfo.HypercreditText.Render(fmt.Sprintf("%s Hypercredits", formatCredits(*hyperCredits)))
84+ hcInfo += t.ModelInfo.HypercreditText.Render(fmt.Sprintf("%s Hypercredits", FormatCredits(*hyperCredits)))
8585 parts = append(parts, "", hcInfo)
8686 }
8787
@@ -124,8 +124,8 @@ func formatTokensAndCost(t *styles.Styles, tokens, contextWindow int64, cost flo
124124 return fmt.Sprintf("%s %s", formattedTokens, formattedCost)
125125}
126126
127−// formatCredits formats an integer with comma separators for thousands.
128−func formatCredits(n int) string {
127+// FormatCredits formats an integer with comma separators for thousands.
128+func FormatCredits(n int) string {
129129 s := strconv.FormatInt(int64(n), 10)
130130 if n < 1000 {
131131 return s