feat: add logging for model details and enhance action assignment in relay tasks

This commit is contained in:
CaIon
2025-10-11 11:56:44 +08:00
parent d540020c3d
commit 59c5f42505
3 changed files with 14 additions and 6 deletions
+2 -1
View File
@@ -173,7 +173,6 @@ func ValidateMultipartDirect(c *gin.Context, info *RelayInfo) *dto.TaskError {
if hasInputReference {
action = constant.TaskActionGenerate
}
info.Action = action
if strings.HasPrefix(model, "sora-2") {
if size == "" {
@@ -199,6 +198,8 @@ func ValidateMultipartDirect(c *gin.Context, info *RelayInfo) *dto.TaskError {
}
}
info.Action = action
return nil
}