Commit f66198b9 by CalciumIon

feat: 完善audio倍率

parent 37d6925e
...@@ -425,6 +425,8 @@ func GetCompletionRatio(name string) float64 { ...@@ -425,6 +425,8 @@ func GetCompletionRatio(name string) float64 {
func GetAudioRatio(name string) float64 { func GetAudioRatio(name string) float64 {
if strings.HasPrefix(name, "gpt-4o-realtime") { if strings.HasPrefix(name, "gpt-4o-realtime") {
return 20 return 20
} else if strings.HasPrefix(name, "gpt-4o-audio") {
return 40
} }
return 20 return 20
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment