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

2
go.mod
View File

@@ -7,7 +7,6 @@ toolchain go1.23.7
require (
github.com/Masterminds/semver v1.5.0
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-ext/components/model/openai v0.0.0-20250314110024-9e89ba18146c
github.com/cloudwego/eino-ext/components/tool/mcp v0.0.0-20250328102648-b47e7f1587fa
@@ -39,6 +38,7 @@ require (
)
require (
github.com/bytedance/sonic v1.13.2 // indirect
github.com/bytedance/sonic/loader v0.2.4 // indirect
github.com/cenkalti/backoff v2.2.1+incompatible // indirect
github.com/cloudwego/base64x v0.1.5 // indirect

View File

@@ -1 +1 @@
v5.0.0-beta-2504012155
v5.0.0-beta-2504012233

View File

@@ -7,7 +7,7 @@ import (
)
type ToolRequest struct {
ServerName string `json:"server_name"`
ServerName string `json:"mcp_server"`
ToolName string `json:"tool_name"`
Args map[string]interface{} `json:"args"`
}