mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-05-03 06:48:24 +00:00
feat(relay): 添加视频模型映射功能支持
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user