fix: add missing UpstreamModelName

This commit is contained in:
1808837298@qq.com
2024-03-02 21:05:02 +08:00
parent 7297c6269f
commit cbe0a1fa76
3 changed files with 1 additions and 4 deletions

View File

@@ -116,8 +116,6 @@ func Distribute() func(c *gin.Context) {
abortWithMessage(c, http.StatusServiceUnavailable, fmt.Sprintf("当前分组 %s 下对于模型 %s 无可用渠道(数据库一致性已被破坏)", userGroup, modelRequest.Model))
return
}
c.Set("model_name", modelRequest.Model)
}
c.Set("channel", channel.Type)
c.Set("channel_id", channel.Id)