mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
refactor: conditionally output cached tokens message based on verbosity
This commit is contained in:
parent
cbc59d919b
commit
a47cb9cdea
1 changed files with 2 additions and 2 deletions
|
@ -1040,8 +1040,8 @@ class Coder:
|
|||
completion.usage, "prompt_cache_hit_tokens", 0
|
||||
) or getattr(completion.usage, "cache_read_input_tokens", 0)
|
||||
|
||||
# if self.verbose:
|
||||
self.io.tool_output(f"Warmed {format_tokens(cache_hit_tokens)} cached tokens.")
|
||||
if self.verbose:
|
||||
self.io.tool_output(f"Warmed {format_tokens(cache_hit_tokens)} cached tokens.")
|
||||
|
||||
self.cache_warming_thread = threading.Timer(0, warm_cache_worker)
|
||||
self.cache_warming_thread.daemon = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue