mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-16 21:15:57 +03:00
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:
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user