8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d54821 commit 9733f32Copy full SHA for 9733f32
pydantic_ai_slim/pydantic_ai/models/openai.py
@@ -957,7 +957,7 @@ def transform(self, schema: JsonSchema) -> JsonSchema:
957
# Remove incompatible keys, but note their impact in the description provided to the LLM
958
description = schema.get('description')
959
min_length = schema.pop('minLength', None)
960
- max_length = schema.pop('minLength', None)
+ max_length = schema.pop('maxLength', None)
961
if description is not None:
962
notes = list[str]()
963
if min_length is not None: # pragma: no cover
0 commit comments