OpenCode Desktop 1.18.4
When creating a new session, selecting an agent that has a configured model does not apply that model. Instead, the session starts with the previously selected model. The correct model is only applied after reselecting the agent from within the active session.
Steps to reproduce
- Configure two agents with different models.
- Open the New Session dialog.
- Select an agent with a custom model.
- Start the session.
- Send a prompt.
Expected
The session starts with the model configured for the selected agent.
The model selector reflects the agent's configured model.
Actual
The New Session dialog keeps the previously selected model.
The new session starts using that incorrect model.
The correct model is only applied after reselecting the agent from within the active session.
OpenCode Desktop 1.18.4
When creating a new session, selecting an agent that has a configured model does not apply that model. Instead, the session starts with the previously selected model. The correct model is only applied after reselecting the agent from within the active session.
Steps to reproduce
Expected
The session starts with the model configured for the selected agent.
The model selector reflects the agent's configured model.
Actual
The New Session dialog keeps the previously selected model.
The new session starts using that incorrect model.
The correct model is only applied after reselecting the agent from within the active session.