Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/tools/shell.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
ShellCallOutcome,
ShellCommandOutput,
ShellCommandRequest,
ShellOnApprovalFunctionResult,
ShellResult,
ShellTool,
trace,
)
from agents.items import ToolApprovalItem
from agents.run_context import RunContextWrapper
from agents.tool import ShellOnApprovalFunctionResult

SHELL_AUTO_APPROVE = os.environ.get("SHELL_AUTO_APPROVE") == "1"

Expand Down
4 changes: 4 additions & 0 deletions src/agents/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@
ShellCommandOutput,
ShellCommandRequest,
ShellExecutor,
ShellOnApprovalFunction,
ShellOnApprovalFunctionResult,
ShellResult,
ShellTool,
ShellToolContainerAutoEnvironment,
Expand Down Expand Up @@ -474,6 +476,8 @@ def enable_verbose_stdout_logging():
"ShellToolHostedEnvironment",
"ShellToolEnvironment",
"ShellExecutor",
"ShellOnApprovalFunction",
"ShellOnApprovalFunctionResult",
"ShellResult",
"ShellTool",
"ApplyPatchEditor",
Expand Down