Closed younes-io closed 8 months ago
Thanks for opening the first issue! That's definitely a holdover from some earlier code. It should be very easy to fix.
Out of curiosity, does \bin\sh exist on wsl? If not I could always add another configuration variable, but I'm trying to not go overboard with them.
I wanted to give a brief update -- I found a windows box and have done some preliminary testing. Some things are starting to work with cmd.exe and I'll probably release a version tomorrow with that fix. I'll take a look at WSL next after that's done.
Thanks @MattFlower ! No worries, take your time :) I'll keep using aider CLI until it's fixed =) Have a good day!
For now, I got this:
/🔒 on ☁️ (eu-central-1)
zsh ➜ aider
Traceback (most recent call last):
File "/home/user/oriuuo/.local/bin/aider", line 5, in <module>
from aider.main import main
File "/home/user/oriuuo/.local/lib/python3.10/site-packages/aider/main.py", line 10, in <module>
from aider import __version__, models
File "/home/user/oriuuo/.local/lib/python3.10/site-packages/aider/models/__init__.py", line 5, in <module>
GPT4 = Model.create("gpt-4")
File "/home/user/oriuuo/.local/lib/python3.10/site-packages/aider/models/model.py", line 24, in create
if "openrouter.ai" in openai.api_base:
AttributeError: module 'o
Unfortunately, I'm not sure on this one. Do you get the same thing running in the vscode terminal or in your normal terminal?
This happens when I run it using the VS Code extension. Normally, the command works when I run it manually.. but, with the app, it seems to run the aider command on the root path /
whereas it should maybe run it in the current path on the terminal..
When I open Aider on VS Code, I get this error. I normally use
zsh
on WSL2