feat: Add analytics tracking for model warnings

This commit is contained in:
Paul Gauthier 2024-10-30 14:34:27 -07:00 committed by Paul Gauthier (aider)
parent f957111141
commit 24c68928d6

View file

@ -637,6 +637,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
if args.show_model_warnings:
problem = models.sanity_check_models(io, main_model)
if problem:
analytics.event("model warning", main_model=main_model)
io.tool_output("You can skip this check with --no-show-model-warnings")
try: