chore: 更新依赖、配置和代码生成
主要更新: - 更新 go.mod/go.sum 依赖 - 重新生成 Ent ORM 代码 - 更新 Wire 依赖注入配置 - 添加 docker-compose.override.yml 到 .gitignore - 更新 README 文档(Simple Mode 说明和已知问题) - 清理调试日志 - 其他代码优化和格式修复
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// Package setup provides CLI-based installation wizard for initial system configuration.
|
||||
package setup
|
||||
|
||||
import (
|
||||
|
||||
@@ -345,7 +345,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 {
|
||||
@@ -367,12 +367,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