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 7457275 commit d296b00Copy full SHA for d296b00
temporalio/contrib/openai_agents/_temporal_model_stub.py
@@ -102,10 +102,6 @@ def make_tool_info(tool: Tool) -> ToolInput:
102
):
103
return tool
104
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
- # )
109
return HostedMCPToolInput(tool_config=tool.tool_config)
110
elif isinstance(tool, FunctionTool):
111
return FunctionToolInput(
0 commit comments