Skip to content

Commit 4ee7425

Browse files
committed
remove allow_partial from call_tool in output toolset
1 parent c6aeded commit 4ee7425

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pydantic_ai_slim/pydantic_ai/_output.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,11 +1080,10 @@ async def call_tool(
10801080
tool_args: dict[str, Any],
10811081
ctx: RunContext[AgentDepsT],
10821082
tool: ToolsetTool[AgentDepsT],
1083-
allow_partial: bool = False,
10841083
) -> Any:
10851084
output = await self.processors[name].call(tool_args, ctx, wrap_validation_errors=False)
10861085
for validator in self.output_validators:
1087-
output = await validator.validate(output, ctx, wrap_validation_errors=False, allow_partial=allow_partial)
1086+
output = await validator.validate(output, ctx, wrap_validation_errors=False)
10881087
return output
10891088

10901089

0 commit comments

Comments
 (0)