chat-ui
4bfeb27b - Fix MCP connection closed errors by not passing abort signal to transport

Commit
152 days ago
Fix MCP connection closed errors by not passing abort signal to transport The abort signal was being passed to the transport initialization, which caused the transport to close when the signal was aborted. However, the client remained in the pool as "valid", leading to "Connection closed" (-32000) errors when the stale client was reused for subsequent calls. The signal should only be used for individual tool calls (already handled in httpClient.ts), not for establishing the long-lived pooled connection.
Author
Parents
Loading