diff --git a/litellm/_lazy_imports_registry.py b/litellm/_lazy_imports_registry.py index 3531e8d96b..e3656b340f 100644 --- a/litellm/_lazy_imports_registry.py +++ b/litellm/_lazy_imports_registry.py @@ -376,7 +376,6 @@ UTILS_MODULE_NAMES = ( "HTTPHandler", "get_num_retries_from_retry_policy", "reset_retry_policy", - "get_secret", "get_coroutine_checker", "get_litellm_logging_class", "get_set_callbacks", @@ -1284,7 +1283,6 @@ _UTILS_MODULE_IMPORT_MAP = { "litellm.router_utils.get_retry_from_policy", "reset_retry_policy", ), - "get_secret": ("litellm.secret_managers.main", "get_secret"), "get_coroutine_checker": ( "litellm.litellm_core_utils.cached_imports", "get_coroutine_checker", diff --git a/litellm/utils.py b/litellm/utils.py index 796547cb04..cefd348078 100644 --- a/litellm/utils.py +++ b/litellm/utils.py @@ -351,7 +351,6 @@ if TYPE_CHECKING: get_num_retries_from_retry_policy, reset_retry_policy, ) - from litellm.secret_managers.main import get_secret # Type stubs for lazy-loaded config classes and types from litellm.llms.base_llm.batches.transformation import BaseBatchesConfig @@ -384,6 +383,8 @@ if TYPE_CHECKING: ) from litellm.types.router import LiteLLM_Params +from litellm.secret_managers.main import get_secret + from litellm.llms.base_llm.chat.transformation import BaseConfig from litellm.llms.base_llm.completion.transformation import BaseTextCompletionConfig from litellm.llms.base_llm.evals.transformation import BaseEvalsAPIConfig