mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
Add session cost to usage report
This commit is contained in:
parent
16cbb0e112
commit
fbc387e16e
1 changed files with 1 additions and 1 deletions
|
@ -1260,7 +1260,7 @@ class Coder:
|
|||
tokens += f", ${cost:.6f} cost"
|
||||
self.total_cost += cost
|
||||
|
||||
self.usage_report = f"{tokens}, total cost: ${self.total_cost:.6f}"
|
||||
self.usage_report = f"{tokens}, session cost: ${self.total_cost:.6f}"
|
||||
|
||||
def get_multi_response_content(self, final=False):
|
||||
cur = self.multi_response_content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue