OPENAI_API_BASE setting and a model name starting with openai/.
Architect mode with two models
Troubleshooting
AuthenticationError—OPENAI_API_KEYis not exported or.envcannot be read (Aider read the.envfile from the working directory or the Git root directory).NotFoundErrormodel — missing theopenai/prefix or incorrect slug.- Warning: unknown context window — no
.aider.model.metadata.jsonfile yet; see step 4. - Truncated response — increase
max_output_tokensin the metadata or select a model with a different limit greater output.

