fix: update default return value in GetModelRatio function

This commit is contained in:
Laisky.Cai 2025-03-24 11:43:59 +00:00
parent 4e2430e5d3
commit 638a4fb77d

View File

@ -916,7 +916,7 @@ func GetModelRatio(name string, channelType int) float64 {
} }
logger.SysError("model ratio not found: " + name) logger.SysError("model ratio not found: " + name)
return 0.1 * QuotaPerUsd return 2.5 * MilliTokensUsd
} }
// CompletionRatio2JSONString returns the CompletionRatio map as a JSON string. // CompletionRatio2JSONString returns the CompletionRatio map as a JSON string.