Merge branch 'feat-cjy-report' into dev
This commit is contained in:
commit
58aca68cd8
@ -72,6 +72,7 @@ func VL(videoURLs []string, imageURLs []string, text string, model string) (resp
|
||||
statusCode, body, err := utils.PostBytesHeader(modelQwen.DashscopeVLURL, map[string]interface{}{
|
||||
"Authorization": "Bearer " + modelQwen.DashscopeAPIKey,
|
||||
"Content-Type": "application/json",
|
||||
"X-DashScope-OssResourceResolve": "enable", // 启用OSS资源解析
|
||||
}, jsonData)
|
||||
if err != nil {
|
||||
zap.L().Error("VL Post failed", zap.Error(err))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user