Aider-AI / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
22.38k stars 2.08k forks source link

model name warning with correct spelling #2399

Open fcnjd opened 3 days ago

fcnjd commented 3 days ago

Issue

Whenever I just invoke aider with --4o, it works seamlessly. But with openrouter the model isn't recognized, although I checked so often that I can't really see a typo in my command: $ aider.exe --model openrouter/openai/gpt-4o . ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Warning for openrouter/openai/gpt-4o-mini: Unknown context window size and costs, using sane defaults. Did you mean one of these?

Version and model info

(base) Julian@Julians-PC MINGW64 ~ $ aider.exe --version aider 0.63.2

paul-gauthier commented 3 days ago

Thanks for trying aider and filing this issue.

It's not warning you about gpt-4o, it's warning you about mini, which is used as the weak model for 4o: openrouter/openai/gpt-4o-mini.