|
@@ -1949,8 +1949,8 @@ type FastGptSpecReq struct {
|
|
|
}
|
|
|
|
|
|
type StdCompMessage struct {
|
|
|
- Role string `json:"role"`
|
|
|
- Content string `json:"content"`
|
|
|
+ Role string `json:"role"`
|
|
|
+ Content interface{} `json:"content"`
|
|
|
}
|
|
|
|
|
|
// 以下是API响应类型
|
|
@@ -1986,8 +1986,8 @@ type StdCompApiResp struct {
|
|
|
|
|
|
// swagger:model FastgptSpecResp
|
|
|
type FastgptSpecResp struct {
|
|
|
- ResponseData []map[string]any `json:"responseData,omitempty"`
|
|
|
- NewVariables map[string]any `json:"newVariables,omitempty"`
|
|
|
+ ResponseData []map[string]interface{} `json:"responseData,omitempty"`
|
|
|
+ NewVariables map[string]interface{} `json:"newVariables,omitempty"`
|
|
|
}
|
|
|
|
|
|
type ChatCompletionAudio struct {
|