feat: 重构异步模型字段并更新依赖
This commit is contained in:
@@ -59,3 +59,12 @@ type GetComposeTaskRes struct {
|
||||
OssFile string `json:"ossFile" dc:"结果文件地址"`
|
||||
FileType string `json:"fileType" dc:"结果文件类型"`
|
||||
}
|
||||
|
||||
type GetPromptTextReq struct {
|
||||
g.Meta `path:"/getPromptText" method:"get" tags:"提示词测试" summary:"测试文本生成" dc:"传入提示词,返回模型纯文本结果,用于接口连通性测试"`
|
||||
Prompt string `p:"prompt" json:"prompt" dc:"测试用提示词"`
|
||||
}
|
||||
|
||||
type GetPromptTextRes struct {
|
||||
Messages any `json:"messages" dc:"最终消息数组"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user