fix(utils.py): add missing providers + models to validate_environment

Closes https://github.com/BerriAI/litellm/issues/3190
This commit is contained in:
Krrish Dholakia 2024-05-01 23:15:54 -07:00
parent d9383da962
commit c0487b16af
2 changed files with 72 additions and 3 deletions

View file

@ -542,7 +542,11 @@ models_by_provider: dict = {
"together_ai": together_ai_models,
"baseten": baseten_models,
"openrouter": openrouter_models,
"vertex_ai": vertex_chat_models + vertex_text_models,
"vertex_ai": vertex_chat_models
+ vertex_text_models
+ vertex_anthropic_models
+ vertex_vision_models
+ vertex_language_models,
"ai21": ai21_models,
"bedrock": bedrock_models,
"petals": petals_models,