Skip to content

Commit 46d8dec

Browse files
committed
revert pydantic_ai_slim/pydantic_ai/durable_exec/temporal/_function_toolset.py to main
1 parent 22e2ac2 commit 46d8dec

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pydantic_ai_slim/pydantic_ai/durable_exec/temporal/_function_toolset.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,7 @@ def temporal_activities(self) -> list[Callable[..., Any]]:
106106
return [self.call_tool_activity]
107107

108108
async def call_tool(
109-
self,
110-
name: str,
111-
tool_args: dict[str, Any],
112-
ctx: RunContext[AgentDepsT],
113-
tool: ToolsetTool[AgentDepsT],
109+
self, name: str, tool_args: dict[str, Any], ctx: RunContext[AgentDepsT], tool: ToolsetTool[AgentDepsT]
114110
) -> Any:
115111
if not workflow.in_workflow():
116112
return await super().call_tool(name, tool_args, ctx, tool)

0 commit comments

Comments
 (0)