Chore/Google GenAI (#4742)

* update @langchain/core, custom google genai implementation

* update @langchain/core, custom google genai implementation
This commit is contained in:
Henry Heng
2025-06-27 00:44:11 +01:00
committed by GitHub
parent e326bc8f49
commit 4c3b729b79
18 changed files with 2087 additions and 876 deletions
+1 -1
View File
@@ -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)