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
When mentioning an agent inline in a chat prompt using @agent-name, the request is not routed through the agent's configured model. Instead, the message is sent using whatever model is currently selected in the chat panel.
Plugins
None
OpenCode version
1.15.7
Steps to reproduce
Configure an agent in opencode.json that uses a different model than the default chat model. E.g., the one I use in the video called other:
---description: Example modelmode: alltemperature: 0.1max_steps: 6model: opencode-go/minimax-m2.7permission:
"*": allow---
You are just a normal agent
In an OpenCode CLI session, type "@other hello friend" in the chat input and submit.
Observe that the response does NOT come from the other agent's model - it goes through the default chat model instead.
(Optional): Go to the provider's usage page and verify that the request was routed through the default chat model.
Description
When mentioning an agent inline in a chat prompt using @agent-name, the request is not routed through the agent's configured model. Instead, the message is sent using whatever model is currently selected in the chat panel.
Plugins
None
OpenCode version
1.15.7
Steps to reproduce
other:otheragent's model - it goes through the default chat model instead.Screenshot and/or share link
opencode_report.mp4
Operating System
Ubuntu 22.04
Terminal
Alacritty