mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
feat: Initialize self.total_cost in __init__ method
This commit is contained in:
parent
b357c90590
commit
d3fb831e89
1 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,6 @@ class Coder:
|
|||
last_asked_for_commit_time = 0
|
||||
repo_map = None
|
||||
functions = None
|
||||
total_cost = 0.0
|
||||
num_exhausted_context_windows = 0
|
||||
num_malformed_responses = 0
|
||||
last_keyboard_interrupt = None
|
||||
|
@ -234,6 +233,8 @@ class Coder:
|
|||
self.chat_completion_response_hashes = []
|
||||
self.need_commit_before_edits = set()
|
||||
|
||||
self.total_cost = total_cost
|
||||
|
||||
self.verbose = verbose
|
||||
self.abs_fnames = set()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue