fix: tweak the logic in config to ensure that env vs file configurations merge properly (#115)

This commit is contained in:
Aiden Cline
2025-05-01 13:22:48 +02:00
committed by GitHub
parent 004cfe7e8e
commit e14de7a211
2 changed files with 20 additions and 14 deletions
+7 -5
View File
@@ -35,11 +35,13 @@ const (
// Providers in order of popularity
var ProviderPopularity = map[ModelProvider]int{
ProviderAnthropic: 1,
ProviderOpenAI: 2,
ProviderGemini: 3,
ProviderGROQ: 4,
ProviderBedrock: 5,
ProviderAnthropic: 1,
ProviderOpenAI: 2,
ProviderGemini: 3,
ProviderGROQ: 4,
ProviderOpenRouter: 5,
ProviderBedrock: 6,
ProviderAzure: 7,
}
var SupportedModels = map[ModelID]Model{