change: ToolRequest

This commit is contained in:
lilong.129
2025-04-01 22:33:13 +08:00
parent 86d0555074
commit f49ee37055
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -7,7 +7,6 @@ toolchain go1.23.7
require ( require (
github.com/Masterminds/semver v1.5.0 github.com/Masterminds/semver v1.5.0
github.com/andybalholm/brotli v1.0.4 github.com/andybalholm/brotli v1.0.4
github.com/bytedance/sonic v1.13.2
github.com/cloudwego/eino v0.3.16 github.com/cloudwego/eino v0.3.16
github.com/cloudwego/eino-ext/components/model/openai v0.0.0-20250314110024-9e89ba18146c github.com/cloudwego/eino-ext/components/model/openai v0.0.0-20250314110024-9e89ba18146c
github.com/cloudwego/eino-ext/components/tool/mcp v0.0.0-20250328102648-b47e7f1587fa github.com/cloudwego/eino-ext/components/tool/mcp v0.0.0-20250328102648-b47e7f1587fa
@@ -39,6 +38,7 @@ require (
) )
require ( require (
github.com/bytedance/sonic v1.13.2 // indirect
github.com/bytedance/sonic/loader v0.2.4 // indirect github.com/bytedance/sonic/loader v0.2.4 // indirect
github.com/cenkalti/backoff v2.2.1+incompatible // indirect github.com/cenkalti/backoff v2.2.1+incompatible // indirect
github.com/cloudwego/base64x v0.1.5 // indirect github.com/cloudwego/base64x v0.1.5 // indirect
+1 -1
View File
@@ -1 +1 @@
v5.0.0-beta-2504012155 v5.0.0-beta-2504012233
+1 -1
View File
@@ -7,7 +7,7 @@ import (
) )
type ToolRequest struct { type ToolRequest struct {
ServerName string `json:"server_name"` ServerName string `json:"mcp_server"`
ToolName string `json:"tool_name"` ToolName string `json:"tool_name"`
Args map[string]interface{} `json:"args"` Args map[string]interface{} `json:"args"`
} }