Client setup
Aider setup
Create an OpenAI-compatible API configuration, then run:
export OPENAI_API_KEY="your-lumoswitch-access-key"
export OPENAI_API_BASE="https://api.lumoswitch.com/v1"
aider --model "openai/your-client-facing-model-name"openai/ selects Aider's compatible provider. The model ID sent to Lumoswitch remains the client-facing model name after the prefix.
Troubleshooting
- For
404, check for a missing or duplicated/v1. - If the model is unknown, include the
openai/prefix. - Begin with a small file explanation before testing edits; not every model is suitable for repository work.
- Do not keep the access key in a project
.envthat is committed to Git.
Reference: Aider OpenAI-compatible documentation.