GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — fix(acp): session/set_mode now activates agent's configured model by systemfreund · Pull Request #18621 · anomalyco/opencode Conversation
|
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
ee97605 to
314af37
Compare
When switching agents via session/set_mode, only the session's modeId was updated but the model remained unchanged. This caused the session to keep using the previously configured (or default) model instead of the model configured for the selected agent. Now setSessionMode() also updates session.model and session.variant when the selected agent has a configured model, matching the behavior users expect when switching agents. Closes anomalyco#18620 Ref anomalyco#7099
314af37 to
101e8c4
Compare
|
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
It's a relatively small PR which meets contributing guidelines, and the only action missing is a human needs to review and make comments or merge. I understand why it's important to close stale PRs but the auto-cleanup logic doesn't make sense for PRs that are not waiting on the submitter? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
ACP: session/set_mode does not activate the agent's configured model
There was an error while loading. Please reload this page.