feat(relay): 添加视频模型映射功能支持

This commit is contained in:
creamlike1024
2025-10-31 18:58:03 +08:00
parent fc56f45628
commit 7fc25a57cf
3 changed files with 101 additions and 0 deletions

View File

@@ -252,6 +252,11 @@ func ValidateBasicTaskRequest(c *gin.Context, info *RelayInfo, action string) *d
}
}
// 模型映射
if info.IsModelMapped {
req.Model = info.UpstreamModelName
}
storeTaskRequest(c, info, action, req)
return nil
}