feat: 完善audio倍率
Some checks failed
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
Some checks failed
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled
This commit is contained in:
parent
37d6925ef6
commit
f66198b918
@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user