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 06:22:48 -05:00
committed by adamdottv
parent fbca5441f6
commit 69ade34c2c
2 changed files with 20 additions and 14 deletions

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{