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

This commit is contained in:
CaIon committed 2025-10-11 11:56:44 +08:00
1 parent d540020c3d
commit 59c5f42505
3 files changed
+14 -6

No files matched your search

+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
}