mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-19 11:58:38 +00:00
refactor: comment out image file validation for qwen edit in Ali image processing
This commit is contained in:
@@ -98,9 +98,9 @@ func oaiFormEdit2AliImageEdit(c *gin.Context, info *relaycommon.RelayInfo, reque
|
|||||||
return nil, errors.New("image is required")
|
return nil, errors.New("image is required")
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(imageFiles) > 1 {
|
//if len(imageFiles) > 1 {
|
||||||
return nil, errors.New("only one image is supported for qwen edit")
|
// return nil, errors.New("only one image is supported for qwen edit")
|
||||||
}
|
//}
|
||||||
|
|
||||||
// 获取base64编码的图片
|
// 获取base64编码的图片
|
||||||
var imageBase64s []string
|
var imageBase64s []string
|
||||||
|
|||||||
Reference in New Issue
Block a user