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 613dac8 commit 14eced9Copy full SHA for 14eced9
pydantic_ai_slim/pydantic_ai/models/openai.py
@@ -630,7 +630,8 @@ def _map_tool_definition(f: ToolDefinition) -> responses.FunctionToolParam:
630
'parameters': f.parameters_json_schema,
631
'type': 'function',
632
'description': f.description,
633
- 'strict': True,
+ # TODO(Marcelo): We should make this configurable, and if True, set `additionalProperties` to False.
634
+ 'strict': False,
635
}
636
637
async def _map_message(self, messages: list[ModelMessage]) -> tuple[str, list[responses.ResponseInputItemParam]]:
0 commit comments