Aider-AI / aider

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

`openrouter/openai/o1-preview` is not known?! #2202

Closed NightMachinery closed 2 days ago

NightMachinery commented 2 weeks ago

openrouter/openai/o1-preview is changed to gpt-4o-mini?!

command aider '--map-tokens=0' --gitignore --no-dirty-commits --vim --no-suggest-shell-commands --model openrouter/openai/o1-preview --editor-model openrouter/deepseek/deepseek-coder --edit-format whole --no-auto-commits MAI.lisp
─────────────────────────────────────────────────────────────────────────────────────
Add .aider*, .env to .gitignore (recommended)? (Y)es/(N)o [Yes]:                     
Added .aider*, .env to .gitignore
Warning for openrouter/openai/gpt-4o-mini: Unknown context window size and costs, 
using sane defaults.
Did you mean one of these?
- openrouter/openai/gpt-4
- openrouter/openai/gpt-4o
- openrouter/openai/o1-mini
For more info, see: https://aider.chat/docs/llms/warnings.html
You can skip this check with --no-show-model-warnings
paul-gauthier commented 2 days ago

Thanks for trying aider and filing this issue.

The fix is available in the main branch. You can get it by installing the latest version from github:

aider --install-main-branch

# or...

python -m pip install --upgrade --upgrade-strategy only-if-needed git+https://github.com/Aider-AI/aider.git

If you have a chance to try it, let me know if it works better for you. I'm going to close this issue for now, but feel free to add a comment here and I will re-open. Or feel free to file a new issue any time.