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]

Revert "add google generate content to call types"

Ishaan Jaffb2d4462ab5ee
diff --git a/litellm/types/utils.py b/litellm/types/utils.py
index 733335ef548..68d861cbc11 100644
--- a/litellm/types/utils.py
+++ b/litellm/types/utils.py
@@ -277,14 +277,6 @@ class CallTypes(Enum):
aresponses = "aresponses"
alist_input_items = "alist_input_items"
- #########################################################
- # Google GenAI Native Call Types
- #########################################################
- generate_content = "generate_content"
- agenerate_content = "agenerate_content"
- generate_content_stream = "generate_content_stream"
- agenerate_content_stream = "agenerate_content_stream"
-
CallTypesLiteral = Literal[
"embedding",
@@ -312,10 +304,6 @@ CallTypesLiteral = Literal[
"anthropic_messages",
"aretrieve_batch",
"retrieve_batch",
- "generate_content",
- "agenerate_content",
- "generate_content_stream",
- "agenerate_content_stream",
]