feat: add analytics events for copy-paste mode and AI comments

This commit is contained in:
Paul Gauthier 2024-12-09 10:47:30 -08:00 committed by Paul Gauthier (aider)
parent a8c42f453a
commit 73f3f4ec7e
2 changed files with 3 additions and 2 deletions

View file

@ -864,6 +864,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
coder.file_watcher = file_watcher
if args.copy_paste:
analytics.event("copy-paste mode")
ClipboardWatcher(coder.io, verbose=args.verbose)
coder.show_announcements()