fix(output.py): update subtitle text from "Total Cost" to "Cost" for clarity in cost information display

This commit is contained in:
Ariel Frischer 2025-03-10 17:01:00 -07:00
parent f43c5e72b6
commit 8f2adc7f61
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ from .formatting import console
def get_cost_subtitle(cost_cb: Optional[AnthropicCallbackHandler]) -> Optional[str]: def get_cost_subtitle(cost_cb: Optional[AnthropicCallbackHandler]) -> Optional[str]:
"""Generate a subtitle with cost information if a callback is provided.""" """Generate a subtitle with cost information if a callback is provided."""
if cost_cb: if cost_cb:
return f"Total Cost: ${cost_cb.total_cost:.6f} | Tokens: {cost_cb.total_tokens}" return f"Cost: ${cost_cb.total_cost:.6f} | Tokens: {cost_cb.total_tokens}"
return None return None