pull/700/head
Travis Fischer 2025-03-24 19:31:04 +08:00
rodzic dc04dbbff4
commit 94150dee82
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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()