promptgarten ๐ŸŒฑ
๐ŸŒ ES

Command reference ยท Aider

/editor-model

Switches the editor model โ€” responsible for writing concrete file edits in architect mode โ€” to a new LLM.

/editor-model changes the editor model during the running session. The docs describe the editor model as handling the second step in architect mode: turning the architect model's proposal into concrete file edits. Without a value, Aider automatically picks a suitable editor model for the main model; it can alternatively be set at startup with --editor-model.

โœ… WHEN TO USE IT?

Use a better-suited editor model in architect mode

/editor-model gpt-4o โ€” after starting /architect with a strong reasoning model as the planner

Swap the editor model mid-session without restarting

/editor-model claude-sonnet โ€” e.g. when the automatically chosen editor model isn't applying edits cleanly

โ›” WHEN NOT TO?

Wanting to change the main model

The docs say /editor-model only affects the editor model in architect mode, not the model handling the request overall.

Better: Use /model to switch the main model

Working outside architect mode

The docs state the editor model is only used in architect mode.

Better: In code mode the main model is enough, no separate editor model is needed

SOURCES