mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-09-11 14:41:21 +00:00
refactor(responses): remove compact model suffix handling (#6770)
This commit is contained in:
@@ -1,12 +1,6 @@
|
||||
package codex
|
||||
|
||||
import (
|
||||
"slices"
|
||||
|
||||
"github.com/QuantumNous/new-api/setting/ratio_setting"
|
||||
)
|
||||
|
||||
var baseModelList = []string{
|
||||
var ModelList = []string{
|
||||
"gpt-5.6-sol",
|
||||
"gpt-5.6-terra",
|
||||
"gpt-5.6-luna",
|
||||
@@ -17,11 +11,4 @@ var baseModelList = []string{
|
||||
"codex-auto-review",
|
||||
}
|
||||
|
||||
var ModelList = slices.DeleteFunc(
|
||||
ratio_setting.WithCompactModelVariants(baseModelList),
|
||||
func(modelName string) bool {
|
||||
return modelName == ratio_setting.WithCompactModelSuffix("codex-auto-review")
|
||||
},
|
||||
)
|
||||
|
||||
const ChannelName = "codex"
|
||||
|
||||
Reference in New Issue
Block a user