mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
feat: Create Analytics instance with track=False if analytics is None
This commit is contained in:
parent
1c321df457
commit
03f14dfe47
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ class Coder:
|
||||||
total_cost=0.0,
|
total_cost=0.0,
|
||||||
analytics=None,
|
analytics=None,
|
||||||
):
|
):
|
||||||
self.analytics = analytics
|
self.analytics = analytics if analytics is not None else Analytics(track=False)
|
||||||
self.event = analytics.event
|
self.event = analytics.event
|
||||||
|
|
||||||
self.commit_before_message = []
|
self.commit_before_message = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue