|
|
@@ -7,7 +7,6 @@ import (
|
|
|
|
|
|
"github.com/QuantumNous/new-api/common"
|
|
|
"github.com/QuantumNous/new-api/setting/operation_setting"
|
|
|
- "github.com/QuantumNous/new-api/setting/reasoning"
|
|
|
)
|
|
|
|
|
|
// from songquanpeng/one-api
|
|
|
@@ -829,10 +828,6 @@ func FormatMatchingModelName(name string) string {
|
|
|
name = handleThinkingBudgetModel(name, "gemini-2.5-pro", "gemini-2.5-pro-thinking-*")
|
|
|
}
|
|
|
|
|
|
- if base, _, ok := reasoning.TrimEffortSuffix(name); ok {
|
|
|
- name = base
|
|
|
- }
|
|
|
-
|
|
|
if strings.HasPrefix(name, "gpt-4-gizmo") {
|
|
|
name = "gpt-4-gizmo-*"
|
|
|
}
|