diff --git a/litellm/rust_bridge/diagnostics.py b/litellm/rust_bridge/diagnostics.py index fbe1b8122d7..90a5672a500 100644 --- a/litellm/rust_bridge/diagnostics.py +++ b/litellm/rust_bridge/diagnostics.py @@ -44,11 +44,9 @@ def _construct(factory: NativeDiagnosticFactory, minimum_custom_key_length: int) def run(native: Callable[[NativeDiagnosticProcessor], ResultT], python: Callable[[], ResultT]) -> ResultT: from litellm.constants import MINIMUM_CUSTOM_KEY_LENGTH - from litellm.rust_bridge.catalog import LoggerContext, decision - from litellm.rust_bridge.configuration import Decision + from litellm.rust_bridge.configuration import rust_enabled - selected: Final = decision(LoggerContext()) - if selected is Decision.PYTHON: + if not rust_enabled(): return python() factory: Final = PROCESSOR.load() if factory is None: diff --git a/pyproject.toml b/pyproject.toml index 24f1154fae8..04923546d3a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "litellm" -version = "1.105.4" +version = "1.105.5" description = "Library to easily interface with LLM API providers" readme = "README.md" requires-python = ">=3.10, <3.15" @@ -361,7 +361,7 @@ litellm-enterprise = { workspace = true } members = ["enterprise", "litellm-proxy-extras"] [tool.commitizen] -version = "1.105.4" +version = "1.105.5" version_files = [ "pyproject.toml:^version", ] diff --git a/uv.lock b/uv.lock index af9f6133eb1..87e5c16c353 100644 --- a/uv.lock +++ b/uv.lock @@ -4540,7 +4540,7 @@ wheels = [ [[package]] name = "litellm" -version = "1.105.4" +version = "1.105.5" source = { editable = "." } dependencies = [ { name = "aiohttp" },