fix(output.py): update subtitle text from "Total Cost" to "Cost" for clarity in cost information display
This commit is contained in:
parent
f43c5e72b6
commit
8f2adc7f61
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue