Skip to content

Commit 7a9fd72

Browse files
committed
allow default with gemini
1 parent 41dd069 commit 7a9fd72

File tree

1 file changed

+0
-1
lines changed
  • pydantic_ai_slim/pydantic_ai/profiles

1 file changed

+0
-1
lines changed

pydantic_ai_slim/pydantic_ai/profiles/google.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def transform(self, schema: JsonSchema) -> JsonSchema:
4949
)
5050

5151
schema.pop('title', None)
52-
schema.pop('default', None)
5352
schema.pop('$schema', None)
5453
if (const := schema.pop('const', None)) is not None:
5554
# Gemini doesn't support const, but it does support enum with a single value

0 commit comments

Comments
 (0)