Repository navigation
fix(tui): keep session model stable when recents sync - #52533
opencode-agent[bot] wants to merge 1 commit into
Conversation
|
Found a case this doesn't cover (reported in #54375). The fallback is captured per agent the first time that agent is resolved in a session, so an agent that hasn't been selected in the session yet (for example after the TUI restarts) still picks up a model chosen meanwhile in another tab or client:
Test: expects X, gets Y on
|
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
What changed
Validation
bun test test/context/local-selection.test.tsx(packages/tui)bun typecheck(packages/tui)Requested by: @rekram1-node (Aiden via Slack)