Open aelaguiz opened 2 weeks ago
Thanks for trying aider and filing this issue.
I've made some improvements so that --language
is respected by all of aider's edit formats (including architect). At the end of the day, the model may or may not obey its instructios though. The o1 models do not support system prompts, so can be tricky to control.
The change 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.
Issue
In architect mode, I regularly have aider switching languages mid workflow.
Version and model info
➜ aider --o1-mini --architect --editor-model claude-3-5-sonnet-20241022 ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Warning: Streaming is not supported by o1-mini. Disabling streaming. Aider v0.60.1 Main model: o1-mini with architect edit format Editor model: claude-3-5-sonnet-20241022 with editor-diff edit format Weak model: gpt-4o-mini Git repo: .git with 126 files Repo-map: using 1024 tokens, auto refresh Use /help for help, run "aider --help" to see cmd line args