mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
Remove unused cost_report
variable in calculate_and_show_tokens_and_cost
method
This commit is contained in:
parent
384a5f2ea5
commit
9c24d41d41
1 changed files with 0 additions and 1 deletions
|
@ -1258,7 +1258,6 @@ class Coder:
|
|||
|
||||
self.usage_report = f"Tokens: {prompt_tokens:,} sent, {completion_tokens:,} received."
|
||||
|
||||
cost_report = ""
|
||||
if self.main_model.info.get("input_cost_per_token"):
|
||||
cost += prompt_tokens * self.main_model.info.get("input_cost_per_token")
|
||||
if self.main_model.info.get("output_cost_per_token"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue