fix: add support for gpt-5.4 model in model_ratio.go
This commit is contained in:
1 parent
cd1d43ae47
commit
5372d9ba55
1 file changed
+3
@@ -471,6 +471,9 @@ func getHardcodedCompletionModelRatio(name string) (float64, bool) {
|
|||||||
}
|
}
|
||||||
// gpt-5 匹配
|
// gpt-5 匹配
|
||||||
if strings.HasPrefix(name, "gpt-5") {
|
if strings.HasPrefix(name, "gpt-5") {
|
||||||
|
if strings.HasPrefix(name, "gpt-5.4") {
|
||||||
|
return 6, true
|
||||||
|
}
|
||||||
return 8, true
|
return 8, true
|
||||||
}
|
}
|
||||||
// gpt-4.5-preview匹配
|
// gpt-4.5-preview匹配
|
||||||
|
|||||||
Reference in new issue
Block a user