Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

style: fix import ordering in prompt_endpoints

usera44c4d0f2700
diff --git a/litellm/proxy/prompts/prompt_endpoints.py b/litellm/proxy/prompts/prompt_endpoints.py
index e211f2a96ab..e66202de0db 100644
--- a/litellm/proxy/prompts/prompt_endpoints.py
+++ b/litellm/proxy/prompts/prompt_endpoints.py
@@ -6,8 +6,6 @@ import tempfile
from pathlib import Path
from typing import Any, Dict, List, Optional, cast
-from litellm.proxy.common_utils.path_utils import safe_filename
-
from fastapi import (
APIRouter,
Depends,
@@ -22,6 +20,7 @@ from pydantic import BaseModel
from litellm._logging import verbose_proxy_logger
from litellm.proxy._types import CommonProxyErrors, LitellmUserRoles, UserAPIKeyAuth
from litellm.proxy.auth.user_api_key_auth import user_api_key_auth
+from litellm.proxy.common_utils.path_utils import safe_filename
from litellm.types.prompts.init_prompts import (
ListPromptsResponse,
PromptInfo,