fix issue#25
This commit is contained in:
parent
7b3daacdf5
commit
d1a4b506ce
@ -3,6 +3,7 @@
|
|||||||
## [main] 0.1.3
|
## [main] 0.1.3
|
||||||
- 解决 issue#21 点击按钮后的发送文本后不会清空当前的输入框。
|
- 解决 issue#21 点击按钮后的发送文本后不会清空当前的输入框。
|
||||||
- 修复暂停按键在多轮对话后消失的问题。
|
- 修复暂停按键在多轮对话后消失的问题。
|
||||||
|
- 修复 issue#25 无法连接 streamable http 的问题。
|
||||||
|
|
||||||
## [main] 0.1.2
|
## [main] 0.1.2
|
||||||
- 新特性:用户发送的信息增加「重新发送」按钮。
|
- 新特性:用户发送的信息增加「重新发送」按钮。
|
||||||
|
@ -68,6 +68,8 @@ 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