mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
nit fix
This commit is contained in:
@@ -282,7 +282,6 @@ async fn spawn_agent_reapplies_runtime_sandbox_after_role_config() {
|
||||
"spawn_agent",
|
||||
function_payload(json!({
|
||||
"message": "await this command",
|
||||
"agent_type": "explorer"
|
||||
})),
|
||||
);
|
||||
let output = SpawnAgentHandler
|
||||
@@ -1069,11 +1068,6 @@ async fn build_agent_spawn_config_uses_turn_context_values() {
|
||||
.approval_policy
|
||||
.set(AskForApproval::OnRequest)
|
||||
.expect("approval policy set");
|
||||
expected
|
||||
.permissions
|
||||
.sandbox_policy
|
||||
.set(turn.sandbox_policy.get().clone())
|
||||
.expect("sandbox policy set");
|
||||
expected.permissions.file_system_sandbox_policy = file_system_sandbox_policy;
|
||||
expected.permissions.network_sandbox_policy = network_sandbox_policy;
|
||||
assert_eq!(config, expected);
|
||||
|
||||
Reference in New Issue
Block a user