mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
feat: Add analytics tracking for model warnings
This commit is contained in:
parent
f957111141
commit
24c68928d6
1 changed files with 1 additions and 0 deletions
|
@ -637,6 +637,7 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
|
||||||
if args.show_model_warnings:
|
if args.show_model_warnings:
|
||||||
problem = models.sanity_check_models(io, main_model)
|
problem = models.sanity_check_models(io, main_model)
|
||||||
if problem:
|
if problem:
|
||||||
|
analytics.event("model warning", main_model=main_model)
|
||||||
io.tool_output("You can skip this check with --no-show-model-warnings")
|
io.tool_output("You can skip this check with --no-show-model-warnings")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue