File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -82,8 +82,8 @@ def __init__(
8282 provider_map: A MultiProviderMap that maps prefixes to ModelProviders. If not provided,
8383 we will use a default mapping. See the documentation for this class to see the
8484 default mapping.
85- openai_api_key: The API key to use for the OpenAI provider. If not provided, we will use
86- the default API key.
85+ openai_api_key: The API key to use for the OpenAI provider. If not provided,
86+ we will use the default API key.
8787 openai_base_url: The base URL to use for the OpenAI provider. If not provided, we will
8888 use the default base URL.
8989 openai_client: An optional OpenAI client to use. If not provided, we will create a new
@@ -119,8 +119,9 @@ def _create_fallback_provider(self, prefix: str) -> ModelProvider:
119119 from ..extensions .models .litellm_provider import LitellmProvider
120120 except ImportError as e :
121121 raise UserError (
122- "LitellmProvider requires the litellm extension. Install the optional dependency "
123- "or add a custom provider mapping for the 'litellm' prefix."
122+ "LitellmProvider requires the litellm extension. Install "
123+ "the optional dependency or add a custom provider mapping "
124+ "for the 'litellm' prefix."
124125 ) from e
125126 return LitellmProvider ()
126127 else :
You can’t perform that action at this time.
0 commit comments