style: sort imports

This commit is contained in:
hx 2026-10-05 19:20:58 +08:00
parent 623f740a83
commit 86c9ae96fc
2 changed files with 6 additions and 6 deletions

View file

@ -4,24 +4,24 @@ import json
import os
import threading
import time
from urllib.parse import parse_qs, urlparse
from unittest.mock import MagicMock
from urllib.parse import parse_qs, urlparse
import httpx
import litellm
import pytest
from click.testing import CliRunner
import litellm
import litellm.llms.xai.oauth as xai_oauth_module
from litellm.litellm_core_utils.get_llm_provider_logic import get_llm_provider
from litellm.llms.xai.chat.transformation import XAIChatConfig
from litellm.llms.xai.oauth import (
XAI_OAUTH_CLIENT_ID,
XAI_OAUTH_SCOPE,
XAIOAuthError,
XAIOAuthAuthenticator,
XAIOAuthError,
XAIOAuthLoginRequiredError,
)
from litellm.llms.xai.chat.transformation import XAIChatConfig
from litellm.llms.xai.responses.transformation import XAIResponsesAPIConfig
from litellm.types.router import GenericLiteLLMParams
from litellm.utils import get_optional_params, validate_environment

View file

@ -17,8 +17,6 @@ from litellm.proxy.auth.auth_utils import (
abbreviate_api_key,
check_complete_credentials,
custom_auth_common_checks_warning,
log_once_if_budget_reservation_disabled,
warn_once_if_custom_auth_skips_common_checks,
get_end_user_id_from_request_body,
get_key_mcp_rpm_limit,
get_key_model_rpm_limit,
@ -30,6 +28,8 @@ from litellm.proxy.auth.auth_utils import (
get_project_model_tpm_limit,
get_request_route_template,
is_request_body_safe,
log_once_if_budget_reservation_disabled,
warn_once_if_custom_auth_skips_common_checks,
)
from litellm.types.workload_identity import ANTHROPIC_WIF_KWARGS_KEYS, OPENAI_WIF_KWARGS_KEYS