editing model after writing the prompt
Resolved 💬 3 comments Opened May 21, 2026 by goyalayus Closed May 21, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What variant of Codex are you using?
CLI
What feature would you like to see?
currently /model only works in an empty input box. it should work in between writing prompts, becuase sometimes we realise after writing the prompt that this can be done by a faster model
Additional information
_No response_
3 Comments
You can change the
/modelany time between turns. A turn starts when you issue a prompt and ends when the model stops working on that turn.If you want to change the model in the middle of a turn, you need to cancel the current turn (Ctrl+C).
no i meant changing it while writing the prompt, sometimes i have written a
paragraph long prompt and then i realize i have to change the model
the ideal solution would be to be able to go at the start of prompt and
write /model
and then when we hit enter, first model changing prompt comes then the
request executes
On Thu, May 21, 2026 at 9:37 PM Eric Traut @.***> wrote:
Ah, thanks for the clarification.
Here's a pro tip: If you have a prompt partially typed, you can use
Ctrl+Cto clear and stash that prompt, then use/modelto change the model. Then use the up arrow to restore the previous (stashed) prompt.