feat: add weather tools to legacy and Eino chat
This commit is contained in:
1 parent
6e6171f481
commit
86e86bc9fa
18 files changed
+926
-77
No files matched your search
@@ -22,6 +22,7 @@ type ChatImageURL struct {
|
||||
|
||||
// ToolCall 表示模型请求执行的工具调用。
|
||||
type ToolCall struct {
|
||||
Index *int `json:"index,omitempty"`
|
||||
ID string `json:"id"`
|
||||
Type string `json:"type"`
|
||||
Function ToolFunction `json:"function"`
|
||||
|
||||
Reference in new issue
Block a user