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{}{
|
statusCode, body, err := utils.PostBytesHeader(modelQwen.DashscopeVLURL, map[string]interface{}{
|
||||||
"Authorization": "Bearer " + modelQwen.DashscopeAPIKey,
|
"Authorization": "Bearer " + modelQwen.DashscopeAPIKey,
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
"X-DashScope-OssResourceResolve": "enable", // 启用OSS资源解析
|
||||||
}, jsonData)
|
}, jsonData)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
zap.L().Error("VL Post failed", zap.Error(err))
|
zap.L().Error("VL Post failed", zap.Error(err))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user