mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
feat: Offer OpenRouter OAuth if no model detected
This commit is contained in:
parent
9e3adf0bf8
commit
c3c960383e
2 changed files with 2 additions and 2 deletions
|
@ -983,7 +983,7 @@ class TestMain(TestCase):
|
|||
coder = main(
|
||||
["--exit", "--yes"], input=DummyInput(), output=DummyOutput(), return_coder=True
|
||||
)
|
||||
self.assertIn("openrouter/anthropic/claude", coder.main_model.name.lower())
|
||||
self.assertIn("openrouter/", coder.main_model.name.lower())
|
||||
del os.environ["OPENROUTER_API_KEY"]
|
||||
|
||||
# Test OpenAI API key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue