mirror of
https://github.com/anomalyco/opencode.git
synced 2026-09-29 17:09:40 +08:00
fix(tui): remove the stale MCPFailed error message (#50958)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user