From dd19be8d20d572b7c9073f1be4749e32d104c12d Mon Sep 17 00:00:00 2001 From: Alex Akimov Date: Sun, 9 Nov 2025 18:25:47 +0100 Subject: [PATCH] Revert unnecessary change --- mcp-client-typescript/index.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mcp-client-typescript/index.ts b/mcp-client-typescript/index.ts index 292fe7f..99a185b 100644 --- a/mcp-client-typescript/index.ts +++ b/mcp-client-typescript/index.ts @@ -69,7 +69,7 @@ class MCPClient { }); console.log( "Connected to server with tools:", - this.tools.map(({ name }) => name) + this.tools.map(({ name }) => name), ); } catch (e) { console.log("Failed to connect to MCP server: ", e); @@ -115,7 +115,7 @@ class MCPClient { arguments: toolArgs, }); finalText.push( - `[Calling tool ${toolName} with args ${JSON.stringify(toolArgs)}]` + `[Calling tool ${toolName} with args ${JSON.stringify(toolArgs)}]`, ); // Continue conversation with tool results @@ -132,7 +132,7 @@ class MCPClient { }); finalText.push( - response.content[0].type === "text" ? response.content[0].text : "" + response.content[0].type === "text" ? response.content[0].text : "", ); } }