kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/700/head
rodzic
dc04dbbff4
commit
94150dee82
|
@ -55,9 +55,9 @@ export class McpTools extends AIFunctionsProvider {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the MCPTools instance by fetching all available tools from the MCP client.
|
* Initialize the McpTools instance by fetching all available tools from the MCP client.
|
||||||
* This method must be called before using this class' tools.
|
* This method must be called before using this class' tools.
|
||||||
* It is called automatically when using `MCPTools.from()`.
|
* It is called automatically when using `McpTools.from()`.
|
||||||
*/
|
*/
|
||||||
protected async _init() {
|
protected async _init() {
|
||||||
const capabilties = this.client.getServerCapabilities()
|
const capabilties = this.client.getServerCapabilities()
|
||||||
|
|
Ładowanie…
Reference in New Issue