mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-08 23:23:42 +08:00
feat: able to configure ratio for more models now (close #53)
This commit is contained in:
@@ -49,11 +49,6 @@ var TurnstileSecretKey = ""
|
||||
|
||||
var QuotaForNewUser = 100
|
||||
|
||||
// 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
|
||||
RoleCommonUser = 1
|
||||
|
||||
Reference in New Issue
Block a user