mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-15 23:54:30 +00:00
feat: able to configure ratio for different models (close #26)
This commit is contained in:
@@ -48,7 +48,11 @@ var TurnstileSiteKey = ""
|
||||
var TurnstileSecretKey = ""
|
||||
|
||||
var QuotaForNewUser = 100
|
||||
var BytesNumber2Quota = 0.8
|
||||
|
||||
// https://platform.openai.com/docs/models/model-endpoint-compatibility
|
||||
var RatioGPT3dot5 float64 = 2
|
||||
var RatioGPT4 float64 = 30
|
||||
var RatioGPT4_32k float64 = 60
|
||||
|
||||
const (
|
||||
RoleGuestUser = 0
|
||||
|
Reference in New Issue
Block a user