Enha: model name to config

This commit is contained in:
Grail Finder
2025-09-06 14:41:21 +03:00
parent 0276000bfa
commit c75ac433d4
5 changed files with 44 additions and 33 deletions

View File

@@ -12,6 +12,7 @@ type Config struct {
APIToken string `toml:"APIToken"`
QuestionsPath string `toml:"QuestionsPath"`
RPScenariosDir string `toml:"RPScenariosDir"`
ModelName string `toml:"ModelName"`
OutDir string `toml:"OutDir"`
MaxTurns int `toml:"MaxTurns"`
}
@@ -30,6 +31,7 @@ func LoadConfigOrDefault(fn string) *Config {
config.RPScenariosDir = "scenarios"
config.OutDir = "results"
config.MaxTurns = 10
config.ModelName = "deepseek/deepseek-chat-v3-0324:free"
}
return config
}