适配6.12

This commit is contained in:
liuchunk
2024-03-17 17:20:23 +08:00
parent eba6fb0a53
commit 82f4808f01
3 changed files with 5 additions and 6 deletions

View File

@@ -69,9 +69,9 @@ func Distribute() func(c *gin.Context) {
}
if strings.HasPrefix(modelRequest.Model, "gpt-4-gizmo") {
channel, err = model.CacheGetRandomSatisfiedChannel(userGroup, "gpt-4-gizmo")
channel, err = model.CacheGetRandomSatisfiedChannel(userGroup, "gpt-4-gizmo",false)
} else {
channel, err = model.CacheGetRandomSatisfiedChannel(userGroup, modelRequest.Model)
channel, err = model.CacheGetRandomSatisfiedChannel(userGroup, modelRequest.Model,false)
}
if err != nil {