Fix StreamableHTTPClientTransport instantiation (#944)
This commit is contained in:
parent
9203091219
commit
ec33e3f506
1 changed files with 1 additions and 1 deletions
|
|
@ -1705,7 +1705,7 @@ try {
|
|||
name: 'streamable-http-client',
|
||||
version: '1.0.0'
|
||||
});
|
||||
const transport = new StreamableHTTPClientTransport(new URL(baseUrl));
|
||||
const transport = new StreamableHTTPClientTransport(baseUrl);
|
||||
await client.connect(transport);
|
||||
console.log('Connected using Streamable HTTP transport');
|
||||
} catch (error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue