Skip to content

Commit dd19be8

Browse files
author
Alex Akimov
committed
Revert unnecessary change
1 parent 30655fc commit dd19be8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mcp-client-typescript/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class MCPClient {
6969
});
7070
console.log(
7171
"Connected to server with tools:",
72-
this.tools.map(({ name }) => name)
72+
this.tools.map(({ name }) => name),
7373
);
7474
} catch (e) {
7575
console.log("Failed to connect to MCP server: ", e);
@@ -115,7 +115,7 @@ class MCPClient {
115115
arguments: toolArgs,
116116
});
117117
finalText.push(
118-
`[Calling tool ${toolName} with args ${JSON.stringify(toolArgs)}]`
118+
`[Calling tool ${toolName} with args ${JSON.stringify(toolArgs)}]`,
119119
);
120120

121121
// Continue conversation with tool results
@@ -132,7 +132,7 @@ class MCPClient {
132132
});
133133

134134
finalText.push(
135-
response.content[0].type === "text" ? response.content[0].text : ""
135+
response.content[0].type === "text" ? response.content[0].text : "",
136136
);
137137
}
138138
}

0 commit comments

Comments
 (0)