fix(litellm/__init__.py): add provider_by_model dict

This commit is contained in:
jinno 2024-05-07 08:46:27 +09:00
parent f3071161ad
commit 24164eccaa

View file

@ -811,6 +811,8 @@ models_by_provider: dict = {
"fireworks_ai": fireworks_ai_models + fireworks_ai_embedding_models,
}
provider_by_model = {} # This will initialized by get_provider_from_model()
# mapping for those models which have larger equivalents
longer_context_model_fallback_dict: dict = {
# openai chat completion models