feat: Offer OpenRouter OAuth if no model detected

This commit is contained in:
Paul Gauthier 2025-03-28 18:51:35 -10:00 committed by Paul Gauthier (aider)
parent 9e3adf0bf8
commit c3c960383e
2 changed files with 2 additions and 2 deletions

View file

@ -140,7 +140,7 @@ def select_default_model(args, io, analytics):
io.tool_warning(no_model_msg)
# Try OAuth if no model was detected
# offer_openrouter_oauth(io, analytics)
offer_openrouter_oauth(io, analytics)
# Check again after potential OAuth success
model = try_to_select_default_model()