style: Improve formatting of cache warming message

This commit is contained in:
Paul Gauthier (aider) 2024-08-26 15:42:10 -07:00
parent a6ff08b2c5
commit 75a51025a0

View file

@ -1022,7 +1022,10 @@ class Coder:
else:
return f"{round(count / 1000)}k"
self.io.tool_output(f"Warmed {format_tokens(cache_hit_tokens)} cached tokens. ({i+1}/{self.num_cache_warming_pings})")
self.io.tool_output(
f"Warmed {format_tokens(cache_hit_tokens)} cached tokens."
f" ({i+1}/{self.num_cache_warming_pings})"
)
self.io.tool_output("Stopped warming.")