mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 11:45:00 +00:00
feat: Improve streaming cost warning display
This commit is contained in:
parent
e559bc8694
commit
f37b814570
2 changed files with 3 additions and 5 deletions
|
@ -1961,11 +1961,6 @@ class Coder:
|
|||
f" ${format_cost(self.total_cost)} session."
|
||||
)
|
||||
|
||||
if self.add_cache_headers and self.stream:
|
||||
warning = " Use --no-stream for accurate caching costs."
|
||||
self.usage_report = tokens_report + "\n" + cost_report + warning
|
||||
return
|
||||
|
||||
if cache_hit_tokens and cache_write_tokens:
|
||||
sep = "\n"
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue