chore: add omitempty for xunfei functions
This commit is contained in:
parent
f73f2e51df
commit
1f80b0a39f
@ -28,7 +28,7 @@ type ChatRequest struct {
|
|||||||
} `json:"message"`
|
} `json:"message"`
|
||||||
Functions struct {
|
Functions struct {
|
||||||
Text []model.Function `json:"text,omitempty"`
|
Text []model.Function `json:"text,omitempty"`
|
||||||
} `json:"functions"`
|
} `json:"functions,omitempty"`
|
||||||
} `json:"payload"`
|
} `json:"payload"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user