Browse Source

feat: 完善audio倍率

CalciumIon 1 year ago
parent
commit
3b53a2a5ce
1 changed files with 2 additions and 0 deletions
  1. 2 0
      common/model-ratio.go

+ 2 - 0
common/model-ratio.go

@@ -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
 }