compose
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user