mirror of
https://github.com/coaidev/coai.git
synced 2025-05-23 23:10:13 +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 ToolItem map[string]string
|
||||||
|
|
||||||
type ToolCallFunction struct {
|
type ToolCallFunction struct {
|
||||||
Name string `json:"name"`
|
Name string `json:"name,omitempty"`
|
||||||
Arguments string `json:"arguments"`
|
Arguments string `json:"arguments,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ToolCall struct {
|
type ToolCall struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user