mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-17 16:06:38 +08:00
feat: 完善audio倍率
This commit is contained in:
parent
97fdcd8e8f
commit
3b53a2a5ce
@ -425,6 +425,8 @@ func GetCompletionRatio(name string) float64 {
|
||||
func GetAudioRatio(name string) float64 {
|
||||
if strings.HasPrefix(name, "gpt-4o-realtime") {
|
||||
return 20
|
||||
} else if strings.HasPrefix(name, "gpt-4o-audio") {
|
||||
return 40
|
||||
}
|
||||
return 20
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user