feat: prepare for 5.6
This commit is contained in:
@@ -504,8 +504,8 @@ func getHardcodedCompletionModelRatio(name string) (float64, bool) {
|
||||
}
|
||||
// gpt-5 匹配
|
||||
if strings.HasPrefix(name, "gpt-5") {
|
||||
if strings.HasPrefix(name, "gpt-5.5") {
|
||||
return 6, true
|
||||
if !strings.Contains(name, ".") {
|
||||
return 8, true
|
||||
}
|
||||
if strings.HasPrefix(name, "gpt-5.4") {
|
||||
if strings.HasPrefix(name, "gpt-5.4-nano") {
|
||||
@@ -513,7 +513,8 @@ func getHardcodedCompletionModelRatio(name string) (float64, bool) {
|
||||
}
|
||||
return 6, true
|
||||
}
|
||||
return 8, true
|
||||
// gpt-5.5 and later models are unlocked
|
||||
return 6, false
|
||||
}
|
||||
// gpt-4.5-preview匹配
|
||||
if strings.HasPrefix(name, "gpt-4.5-preview") {
|
||||
|
||||
Reference in New Issue
Block a user