This commit is contained in:
jif-oai
2026-03-16 15:57:44 +00:00
parent 983e8f3d78
commit 3ad5474de5

View File

@@ -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);