Revert "Revert "add google generate content to call types""

This reverts commit b2d4462ab5.
This commit is contained in:
Ishaan Jaff 2025-06-25 22:43:07 -07:00
parent c3857e60f2
commit bb86619605

View file

@ -277,6 +277,14 @@ 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",
@ -304,6 +312,10 @@ CallTypesLiteral = Literal[
"anthropic_messages",
"aretrieve_batch",
"retrieve_batch",
"generate_content",
"agenerate_content",
"generate_content_stream",
"agenerate_content_stream",
]