mirror of
https://github.com/openai/codex.git
synced 2026-05-24 04:54:52 +00:00
Format dangerous bypass SDK updates
This commit is contained in:
@@ -872,9 +872,7 @@ def _approval_mode_thread_sandbox_line(*, indent: str = " ") -> str:
|
||||
return f"{indent}sandbox = _thread_sandbox_for_approval_mode(approval_mode, sandbox)"
|
||||
|
||||
|
||||
def _approval_mode_turn_sandbox_policy_lines(
|
||||
*, indent: str = " "
|
||||
) -> list[str]:
|
||||
def _approval_mode_turn_sandbox_policy_lines(*, indent: str = " ") -> list[str]:
|
||||
"""Return the approval-mode sandbox preset for turn operations."""
|
||||
return [
|
||||
f"{indent}sandbox_policy = _turn_sandbox_policy_for_approval_mode(",
|
||||
|
||||
Reference in New Issue
Block a user