| 1234567891011121314151617181920212223242526272829 |
- package model
- type Tool struct {
- Type string `json:"type"`
- Function Function `json:"function"`
- }
- type Function struct {
- Parameters any `json:"parameters,omitempty"`
- Arguments string `json:"arguments,omitempty"`
- Description string `json:"description,omitempty"`
- Name string `json:"name,omitempty"`
- }
- type GoogleExtraContent struct {
- ThoughtSignature string `json:"thought_signature,omitempty"`
- }
- type ExtraContent struct {
- Google *GoogleExtraContent `json:"google,omitempty"`
- }
- type ToolCall struct {
- Index int `json:"index"`
- ID string `json:"id"`
- Type string `json:"type"`
- Function Function `json:"function"`
- ExtraContent *ExtraContent `json:"extra_content,omitempty"`
- }
|