fix(core): keep MCP prompts when a refresh fails (#62266)

This commit is contained in:
Dan Smolsky
2026-11-07 06:31:26 -05:00
committed by GitHub
Unverified
parent 75cd570807
commit c72ce6cf82
-1
View File
@@ -120,7 +120,6 @@ export function make(input: Input): Connection {
const refreshPrompts = (client: McpClient.Connection) =>
client.prompts().pipe(
Effect.orElseSucceed(() => []),
Effect.map((prompts) => {
state.prompts = prompts
}),