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]

fix response typing

Ishaan Jaff968ef4a299df
diff --git a/litellm/types/llms/anthropic_messages/anthropic_response.py b/litellm/types/llms/anthropic_messages/anthropic_response.py
index e2602207760..270807fc8f7 100644
--- a/litellm/types/llms/anthropic_messages/anthropic_response.py
+++ b/litellm/types/llms/anthropic_messages/anthropic_response.py
@@ -1,8 +1,6 @@
from typing import Any, Dict, List, Literal, Optional, TypedDict, Union
-import anthropic
-from pydantic import PropertyInfo
-from typing_extensions import Annotated, TypeAlias
+from typing_extensions import TypeAlias
class AnthropicResponseTextBlock(TypedDict, total=False):