refactor: improve model name redaction in analytics and model info handling

This commit is contained in:
Paul Gauthier 2024-10-30 14:29:29 -07:00 committed by Paul Gauthier (aider)
parent a565a63436
commit e94e60b1d2
3 changed files with 8 additions and 5 deletions

View file

@ -266,7 +266,7 @@ class Coder:
suggest_shell_commands=True,
chat_language=None,
):
self.analytics = analytics if analytics is not None else Analytics(enable=False)
self.analytics = analytics if analytics is not None else Analytics()
self.event = self.analytics.event
self.chat_language = chat_language
self.commit_before_message = []