fix(tui): skip model selection after MCP connection (#51448)

Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
This commit is contained in:
opencode-agent[bot]
2026-09-26 00:00:25 -05:00
committed by GitHub
Unverified
parent a64bc3616e
commit 37049a5a13
@@ -1012,7 +1012,7 @@ async function connected(
data.location.provider.sync(location),
])
toast.show({ variant: "success", message: `Connected ${integration.name}` })
if (onConnected) {
if (onConnected && integration.metadata?.source !== "mcp") {
onConnected(providerID(data, location, integration.id))
return
}