fix(lint): remove unused imports in semantic_guard and policy_endpoints

- Remove unused RouteChoice import from semantic_guard.py TYPE_CHECKING block
  (only referenced in docstring, never used as a type annotation)
- Remove redundant explicit router import from policy_endpoints/__init__.py
  (already re-exported by the preceding import * on the same line)

Fixes Ruff F401 errors caught in CI linting.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Julio Quinteros Pro
2026-02-19 23:46:02 -03:00
co-authored by Claude Sonnet 4.6
parent 0f2516e9cd
commit dba60cac22
2 changed files with 0 additions and 4 deletions
@@ -26,7 +26,6 @@ except ImportError:
if TYPE_CHECKING:
from semantic_router.routers import SemanticRouter
from semantic_router.schema import RouteChoice
from litellm.caching import DualCache
from litellm.proxy.auth.user_api_key_auth import UserAPIKeyAuth
@@ -8,6 +8,3 @@ are imported directly into this namespace.
"""
from litellm.proxy.management_endpoints.policy_endpoints.endpoints import * # noqa: F401, F403
from litellm.proxy.management_endpoints.policy_endpoints.endpoints import (
router,
)