Closed Yona544 closed 1 month ago
Thank you for filing this issue.
It may be that another configuration file or command line argument shadows your .env
file. You can find out where aider gets its configuration with starting
aider --verbose
This will tell you what aider picks up from where.
C:\Projects\TisDsServ>aider --verbose Config files search order, if no --config:
Too soon to check version: 7.0 hours Command Line Args: --verbose
Environment Variables: OPENAI_API_KEY: ...EaKk ANTHROPIC_API_KEY: ...OAAA AIDER_MODEL: openrouter/openai/o1-preview AIDER_SONNET: true
Defaults: --model-settings-file:.aider.model.settings.yml --model-metadata-file:.aider.model.metadata.json --map-refresh: auto --cache-keepalive-pings:0 --map-multiplier-no-files:2 --env-file: C:\Projects\TisDsServ.env --input-history-file:C:\Projects\TisDsServ.aider.input.history --chat-history-file:C:\Projects\TisDsServ.aider.chat.history.md --user-input-color:#00cc00 --tool-error-color:#FF2222 --tool-warning-color:#FFA500 --assistant-output-color:#0088ff --code-theme: default --aiderignore: C:\Projects\TisDsServ.aiderignore --lint-cmd: [] --test-cmd: [] --voice-language: en --encoding: utf-8
Option settings:
Checking imports for version 0.57.1 and executable C:\Python311\python.exe Installs file: C:\Users\Admin.aider\installs.json Installs file exists and loaded Not first run, loading imports in background thread No model settings files loaded Searched for model settings files:
On Sun, Sep 22, 2024 at 5:34 PM fry69 @.***> wrote:
Thank you for filing this issue.
It may be that another configuration file or command line argument shadows your .env file. You can find out where aider gets its configuration with starting
aider --verbose
This will tell you what aider picks up from where.
— Reply to this email directly, view it on GitHub https://github.com/paul-gauthier/aider/issues/1652#issuecomment-2366973552, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAFUORSLUWKNRLHYXHDVW4LZX4ZWFAVCNFSM6AAAAABOU4DMECVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRWHE3TGNJVGI . You are receiving this because you authored the thread.Message ID: @.***>
-- Yona Tauber | Computer Dimensions P 718.625.7043 F 347.382.9340 E @.***
You have set the environment variable AIDER_SONNET
in your .env
file. This is a shortcut for setting the Sonnet-3.5 models.
Comment out or delete the line with AIDER_SONNET
in your .env
and aider will use the model from the AIDER_MODEL
environment variable (openrouter/openai/o1-preview
).
Issue
This is what I have in .env but Aider starts model anthropic/claude-3.5-sonnet The .env file is in the HOME directory
AIDER_MODEL=anthropic/claude-3.5-sonnet
AIDER_MODEL=openrouter/openai/o1-preview
Version and model info
Aider version: 0.57.1 Python version: 3.11.4 Platform: Windows-10-10.0.19045-SP0 Python implementation: CPython Virtual environment: No OS: Windows 10 (64bit) Git version: git version 2.45.2.windows.1