mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
Don't add total_cost after /ask & /help
This commit is contained in:
parent
e591acb757
commit
7a96a1e888
1 changed files with 2 additions and 2 deletions
|
@ -830,7 +830,7 @@ class Commands:
|
|||
dict(role="user", content=user_msg),
|
||||
dict(role="assistant", content=assistant_msg),
|
||||
]
|
||||
self.coder.total_cost += coder.total_cost
|
||||
self.coder.total_cost = coder.total_cost
|
||||
|
||||
def clone(self):
|
||||
return Commands(
|
||||
|
@ -863,7 +863,7 @@ class Commands:
|
|||
dict(role="user", content=user_msg),
|
||||
dict(role="assistant", content=assistant_msg),
|
||||
]
|
||||
self.coder.total_cost += chat_coder.total_cost
|
||||
self.coder.total_cost = chat_coder.total_cost
|
||||
|
||||
def get_help_md(self):
|
||||
"Show help about all commands in markdown"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue