feat: able to configure ratio for different models (close #26)
This commit is contained in:
1 parent
84c7ae8ad1
commit
033e832cae
4 files changed
+70
-19
No files matched your search
+5
-1
@@ -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