mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 15:00:57 +03:00
Chore/Google GenAI (#4742)
* update @langchain/core, custom google genai implementation * update @langchain/core, custom google genai implementation
This commit is contained in:
@@ -132,7 +132,7 @@ export async function MCPTool({
|
||||
const client = await toolkit.createClient()
|
||||
|
||||
try {
|
||||
const req: CallToolRequest = { method: 'tools/call', params: { name: name, arguments: input } }
|
||||
const req: CallToolRequest = { method: 'tools/call', params: { name: name, arguments: input as any } }
|
||||
const res = await client.request(req, CallToolResultSchema)
|
||||
const content = res.content
|
||||
const contentString = JSON.stringify(content)
|
||||
|
||||
Reference in New Issue
Block a user