mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-02 02:34:59 +00:00
refactor: Use main_model attributes for weak and editor models in analytics
This commit is contained in:
parent
6867dab89c
commit
8e098752bd
1 changed files with 1 additions and 0 deletions
|
@ -119,6 +119,7 @@ class Analytics:
|
|||
return model.name.split("/")[0] + "/REDACTED"
|
||||
return None
|
||||
|
||||
# ai: actually, weak_model and editor_model are attributes of main_model; use them instead!
|
||||
def event(self, event_name, main_model=None, weak_model=None, editor_model=None, **kwargs):
|
||||
if not (self.mp or self.ph) and not self.logfile:
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue