Skip to content

Commit 544ced0

Browse files
authored
gemini: move list type inside the Annotated on function_declarations field (#1570)
1 parent 35d6ed4 commit 544ced0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydantic_ai_slim/pydantic_ai/models/gemini.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ class _GeminiTextContent(TypedDict):
641641

642642

643643
class _GeminiTools(TypedDict):
644-
function_declarations: list[Annotated[_GeminiFunction, pydantic.Field(alias='functionDeclarations')]]
644+
function_declarations: Annotated[list[_GeminiFunction], pydantic.Field(alias='functionDeclarations')]
645645

646646

647647
class _GeminiFunction(TypedDict):

0 commit comments

Comments
 (0)