We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b0bcef commit b6f0c72Copy full SHA for b6f0c72
1 file changed
pkg/config/gather.go
@@ -54,6 +54,7 @@ func GatherEnvVarsForModels(cfg *latest.Config) []string {
54
for agentName := range cfg.Agents {
55
modelNames := strings.SplitSeq(cfg.Agents[agentName].Model, ",")
56
for modelName := range modelNames {
57
+ modelName = strings.TrimSpace(modelName)
58
model := cfg.Models[modelName]
59
60
if model.TokenKey != "" {
0 commit comments