mirror of
https://github.com/coaidev/coai.git
synced 2025-05-21 22:10:12 +09:00
fix: tools name and arguments auto hidden
This commit is contained in:
parent
104b5d3aac
commit
a26a072a0e
@ -34,8 +34,8 @@ type ToolProperty struct {
|
||||
type ToolItem map[string]string
|
||||
|
||||
type ToolCallFunction struct {
|
||||
Name string `json:"name"`
|
||||
Arguments string `json:"arguments"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Arguments string `json:"arguments,omitempty"`
|
||||
}
|
||||
|
||||
type ToolCall struct {
|
||||
|
Loading…
Reference in New Issue
Block a user