fix: xunfei interface call 4001 error (#1499)
Co-authored-by: lynnssb <lynntobing@gmail.com>
This commit is contained in:
parent
e9981fff36
commit
f83894c83f
@ -26,7 +26,7 @@ type ChatRequest struct {
|
|||||||
Message struct {
|
Message struct {
|
||||||
Text []Message `json:"text"`
|
Text []Message `json:"text"`
|
||||||
} `json:"message"`
|
} `json:"message"`
|
||||||
Functions struct {
|
Functions *struct {
|
||||||
Text []model.Function `json:"text,omitempty"`
|
Text []model.Function `json:"text,omitempty"`
|
||||||
} `json:"functions,omitempty"`
|
} `json:"functions,omitempty"`
|
||||||
} `json:"payload"`
|
} `json:"payload"`
|
||||||
|
Loading…
Reference in New Issue
Block a user