@@ -81,7 +81,7 @@ func ModelInfo(t *styles.Styles, modelName, providerName, reasoningInfo string,
81 if providerName == hyper.DisplayName && hyperCredits != nil {
81 if providerName == hyper.DisplayName && hyperCredits != nil {
82 hcInfo := t.ModelInfo.HypercreditIcon.Render(styles.HypercreditIcon)
82 hcInfo := t.ModelInfo.HypercreditIcon.Render(styles.HypercreditIcon)
83 hcInfo += " "
83 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)))
85 parts = append(parts, "", hcInfo)
85 parts = append(parts, "", hcInfo)
@@ -124,8 +124,8 @@ func formatTokensAndCost(t *styles.Styles, tokens, contextWindow int64, cost flo
124 return fmt.Sprintf("%s %s", formattedTokens, formattedCost)
124 return fmt.Sprintf("%s %s", formattedTokens, formattedCost)
127−// formatCredits formats an integer with comma separators for thousands.
127+// FormatCredits formats an integer with comma separators for thousands.
128−func formatCredits(n int) string {
128+func FormatCredits(n int) string {
129 s := strconv.FormatInt(int64(n), 10)
129 s := strconv.FormatInt(int64(n), 10)
130 if n < 1000 {
130 if n < 1000 {