This commit is contained in:
1iaan
2026-04-10 12:00:03 +08:00
parent 94bdba930e
commit 5ce2a5f1a3
150 changed files with 215 additions and 20694 deletions

View File

@@ -14,7 +14,7 @@ type Config struct {
BasicAuthUser string `mapstructure:"basic_auth_user"`
BasicAuthPassword string `mapstructure:"basic_auth_password"`
FrontendPath string `mapstructure:"frontend_path"`
Log struct {
Log struct {
Level string
LogPath string `mapstructure:"logPath"`
} `mapstructure:"log"`
@@ -74,7 +74,7 @@ func normalizeConfig(conf *Config) {
conf.FrontendPath = "www"
}
if conf.Chat.Model == "" {
conf.Chat.Model = "kimi-k2.5"
conf.Chat.Model = "kimi-k2-turbo-preview"
}
if conf.Chat.MaxTokens == 0 {
conf.Chat.MaxTokens = 4096