mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
Update the calculate_and_show_tokens_and_cost
method to use the messages
parameter if completion.usage
is not available.
This commit is contained in:
parent
da257c33a0
commit
afe50cab3d
1 changed files with 1 additions and 1 deletions
|
@ -1137,7 +1137,7 @@ class Coder:
|
|||
if interrupted:
|
||||
raise KeyboardInterrupt
|
||||
|
||||
self.calculate_and_show_tokens_and_cost(messages, completion)
|
||||
self.calculate_and_show_tokens_and_cost(messages, completion)
|
||||
|
||||
def show_send_output(self, completion):
|
||||
if self.verbose:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue