fix(tui): remove the stale MCPFailed error message (#50958)

This commit is contained in:
Aiden Cline
2026-09-23 14:02:07 -05:00
committed by GitHub
parent ad15173aa7
commit f51dc62721
-4
View File
@@ -68,10 +68,6 @@ export function cliErrorMessage(input: unknown): string | undefined {
}
if (tagged(input, "UICancelledError") || named(input, "UICancelledError")) return ""
if (isRecord(input) && named(input, "MCPFailed")) {
const name = isRecord(input.data) ? field(input.data, "name") : undefined
return `MCP server "${name}" failed. Note, opencode does not support MCP authentication yet.`
}
return undefined
}