Skip to content

Commit

Permalink
refactor(g4f/models.py): Update provider configurations for multiple …
Browse files Browse the repository at this point in the history
…models
  • Loading branch information
kqlio67 committed Nov 19, 2024
1 parent 6ff94bc commit 56a5e0e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions g4f/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def __all__() -> list[str]:
gemini_pro = Model(
name = 'gemini-pro',
base_provider = 'Google DeepMind',
best_provider = IterListProvider([GeminiPro, Blackbox, AIChatFree, Liaobots])
best_provider = IterListProvider([Blackbox, AIChatFree, GeminiPro, Liaobots])
)

gemini_flash = Model(
Expand Down Expand Up @@ -347,7 +347,7 @@ def __all__() -> list[str]:
wizardlm_2_8x22b = Model(
name = 'wizardlm-2-8x22b',
base_provider = 'WizardLM',
best_provider = IterListProvider([DeepInfraChat])
best_provider = DeepInfraChat
)

### Yorickvp ###
Expand Down Expand Up @@ -389,7 +389,7 @@ def __all__() -> list[str]:
sonar_online = Model(
name = 'sonar-online',
base_provider = 'Perplexity AI',
best_provider = IterListProvider([PerplexityLabs])
best_provider = PerplexityLabs
)

sonar_chat = Model(
Expand Down Expand Up @@ -450,7 +450,7 @@ def __all__() -> list[str]:
sdxl = Model(
name = 'sdxl',
base_provider = 'Stability AI',
best_provider = IterListProvider([ReplicateHome])
best_provider = ReplicateHome

)

Expand Down Expand Up @@ -671,4 +671,4 @@ class ModelUtils:
'any-dark': any_dark,
}

_all_models = list(ModelUtils.convert.keys())
_all_models = list(ModelUtils.convert.keys())

0 comments on commit 56a5e0e

Please sign in to comment.