Commit ff2b497c by CaIon

support gpts

parent b486e086
......@@ -190,6 +190,10 @@ func SyncChannelCache(frequency int) {
}
func CacheGetRandomSatisfiedChannel(group string, model string) (*Channel, error) {
if strings.HasPrefix(model, "gpt-4-gizmo") {
model = "gpt-4-gizmo-*"
}
if !common.MemoryCacheEnabled {
return GetRandomSatisfiedChannel(group, model)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment