Merge branch 'main' of https://github.com/mt21625457/aicodex2api
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// Package setup provides CLI commands and application initialization helpers.
|
||||
package setup
|
||||
|
||||
import (
|
||||
|
||||
@@ -352,7 +352,7 @@ func writeConfigFile(cfg *SetupConfig) error {
|
||||
Default struct {
|
||||
UserConcurrency int `yaml:"user_concurrency"`
|
||||
UserBalance float64 `yaml:"user_balance"`
|
||||
ApiKeyPrefix string `yaml:"api_key_prefix"`
|
||||
APIKeyPrefix string `yaml:"api_key_prefix"`
|
||||
RateMultiplier float64 `yaml:"rate_multiplier"`
|
||||
} `yaml:"default"`
|
||||
RateLimit struct {
|
||||
@@ -374,12 +374,12 @@ func writeConfigFile(cfg *SetupConfig) error {
|
||||
Default: struct {
|
||||
UserConcurrency int `yaml:"user_concurrency"`
|
||||
UserBalance float64 `yaml:"user_balance"`
|
||||
ApiKeyPrefix string `yaml:"api_key_prefix"`
|
||||
APIKeyPrefix string `yaml:"api_key_prefix"`
|
||||
RateMultiplier float64 `yaml:"rate_multiplier"`
|
||||
}{
|
||||
UserConcurrency: 5,
|
||||
UserBalance: 0,
|
||||
ApiKeyPrefix: "sk-",
|
||||
APIKeyPrefix: "sk-",
|
||||
RateMultiplier: 1.0,
|
||||
},
|
||||
RateLimit: struct {
|
||||
|
||||
Reference in New Issue
Block a user