File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments