Skip to content

Commit d296b00

Browse files
committed
Remove stale commented code
1 parent 7457275 commit d296b00

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

temporalio/contrib/openai_agents/_temporal_model_stub.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,6 @@ def make_tool_info(tool: Tool) -> ToolInput:
102102
):
103103
return tool
104104
elif isinstance(tool, HostedMCPTool):
105-
# if tool.on_approval_request is not None:
106-
# raise ValueError(
107-
# "HostedMCPTool with approval functions not currently supported."
108-
# )
109105
return HostedMCPToolInput(tool_config=tool.tool_config)
110106
elif isinstance(tool, FunctionTool):
111107
return FunctionToolInput(

0 commit comments

Comments
 (0)