fix:修复streamable_http连接显示失败的bug
This commit is contained in:
parent
0e057bec1a
commit
b1f0675b5e
@ -68,6 +68,7 @@ export class McpClient {
|
|||||||
this.transport = new StreamableHTTPClientTransport(
|
this.transport = new StreamableHTTPClientTransport(
|
||||||
new URL(this.options.url)
|
new URL(this.options.url)
|
||||||
);
|
);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
throw new Error(`Unsupported connection type: ${this.options.connectionType}`);
|
throw new Error(`Unsupported connection type: ${this.options.connectionType}`);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user