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

@@ -65,9 +65,9 @@ func loadRPScenarios(dir string) ([]*models.RPScenario, error) {
func chooseParser(apiURL string) RespParser {
if apiURL == cfg.RemoteAPI {
return NewOpenRouterParser(logger)
return NewOpenRouterParser(logger, cfg)
}
return NewLCPRespParser(logger)
return NewLCPRespParser(logger, cfg)
}
func init() {