refactor: use model_mapping instead of deployment_mapping

This commit is contained in:
WqyJh
2023-11-23 16:29:21 +08:00
parent 9042b7c4e4
commit 10291630f1
5 changed files with 26 additions and 66 deletions

View File

@@ -85,7 +85,6 @@ func Distribute() func(c *gin.Context) {
switch channel.Type {
case common.ChannelTypeAzure:
c.Set("api_version", channel.Other)
c.Set("deployment_mapping", channel.GetDeploymentMapping())
case common.ChannelTypeXunfei:
c.Set("api_version", channel.Other)
case common.ChannelTypeAIProxyLibrary: