mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-09-17 09:16:36 +08:00
fix: update default return value in GetModelRatio function
This commit is contained in:
parent
4e2430e5d3
commit
638a4fb77d
@ -916,7 +916,7 @@ func GetModelRatio(name string, channelType int) float64 {
|
||||
}
|
||||
|
||||
logger.SysError("model ratio not found: " + name)
|
||||
return 0.1 * QuotaPerUsd
|
||||
return 2.5 * MilliTokensUsd
|
||||
}
|
||||
|
||||
// CompletionRatio2JSONString returns the CompletionRatio map as a JSON string.
|
||||
|
Loading…
Reference in New Issue
Block a user