You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Last command model is selected after exit and resume #38165
I start a session using openai/gpt-5.6-sol, then run the /commit command.
After closing the session with /exit and resuming it through /sessions, the session model is incorrectly set to opencode/deepseek-v4-flash-free, which is the model used by the /commit command.
I expect the resumed session to continue using its original model, openai/gpt-5.6-sol.
Steps to Reproduce
Start a session using openai/gpt-5.6-sol.
Run the /commit command.
Close the session using /exit.
Run /sessions and resume the previous session.
Observe that the selected model is opencode/deepseek-v4-flash-free instead of openai/gpt-5.6-sol.
Expected Behavior
The resumed session should use the session's original model: openai/gpt-5.6-sol.
Actual Behavior
The resumed session uses the model assigned to the most recently executed command: opencode/deepseek-v4-flash-free.
Activity
github-actions commentedon Jul 21, 2026
This issue might be a duplicate of existing issues. Please check:
github-actions commentedon Sep 20, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.