mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:20:47 +00:00
change-web-search
This commit is contained in:
@@ -27,10 +27,10 @@ use codex_core::protocol_config_types::ReasoningEffort;
|
||||
use codex_core::protocol_config_types::ReasoningSummary;
|
||||
use codex_core::spawn::CODEX_SANDBOX_NETWORK_DISABLED_ENV_VAR;
|
||||
use codex_protocol::config_types::SandboxMode;
|
||||
use codex_protocol::protocol::DisabledTool;
|
||||
use codex_protocol::protocol::Event;
|
||||
use codex_protocol::protocol::EventMsg;
|
||||
use codex_protocol::protocol::InputMessageKind;
|
||||
use codex_protocol::protocol::default_disabled_tools;
|
||||
use pretty_assertions::assert_eq;
|
||||
use std::env;
|
||||
use tempfile::TempDir;
|
||||
@@ -346,7 +346,7 @@ async fn test_send_user_turn_changes_approval_policy_behavior() {
|
||||
model: "mock-model".to_string(),
|
||||
effort: Some(ReasoningEffort::Medium),
|
||||
summary: ReasoningSummary::Auto,
|
||||
disabled_tools: default_disabled_tools(),
|
||||
disabled_tools: DisabledTool::defaults(),
|
||||
})
|
||||
.await
|
||||
.expect("send sendUserTurn");
|
||||
@@ -485,7 +485,7 @@ async fn test_send_user_turn_updates_sandbox_and_cwd_between_turns() {
|
||||
model: model.clone(),
|
||||
effort: Some(ReasoningEffort::Medium),
|
||||
summary: ReasoningSummary::Auto,
|
||||
disabled_tools: default_disabled_tools(),
|
||||
disabled_tools: DisabledTool::defaults(),
|
||||
})
|
||||
.await
|
||||
.expect("send first sendUserTurn");
|
||||
@@ -516,7 +516,7 @@ async fn test_send_user_turn_updates_sandbox_and_cwd_between_turns() {
|
||||
model: model.clone(),
|
||||
effort: Some(ReasoningEffort::Medium),
|
||||
summary: ReasoningSummary::Auto,
|
||||
disabled_tools: default_disabled_tools(),
|
||||
disabled_tools: DisabledTool::defaults(),
|
||||
})
|
||||
.await
|
||||
.expect("send second sendUserTurn");
|
||||
|
||||
Reference in New Issue
Block a user