mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
fix: remove duplicate get_llm_provider type stub to resolve mypy error
- Remove get_llm_provider from TYPE_CHECKING Protocol class - Function is already imported from main.py via 'from .main import *' - Fixes mypy error: Name 'get_llm_provider' already defined (possibly by an import)
This commit is contained in:
parent
a5fed1d67f
commit
e5a7405c10
1 changed files with 0 additions and 1 deletions
|
|
@ -1507,7 +1507,6 @@ if TYPE_CHECKING:
|
|||
get_first_chars_messages: Callable[..., str]
|
||||
get_provider_fields: Callable[..., List]
|
||||
get_valid_models: Callable[..., list]
|
||||
get_llm_provider: Callable[..., Tuple[str, str, Optional[str], Optional[str]]]
|
||||
|
||||
# Response types - truly lazy loaded only (not in main.py or elsewhere)
|
||||
ModelResponseListIterator: Type[Any]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue