mirror of
https://github.com/openai/codex.git
synced 2026-11-13 06:45:07 +00:00
Update tests for default-enabled update_plan (#41630)
## What changed - Cover the default, explicitly enabled, and explicitly disabled states of `tools.update_plan.enabled`. - Verify prompt tool lists remain consistent across requests, including when custom base and developer instructions are configured. - Explicitly enable `update_plan` in existing fixtures that depend on the tool. GitOrigin-RevId: 3be279cb5195dfc5892c2c8ff6a1461fac879309
This commit is contained in:
1 parent
dde85b435b
commit
28327355b8
20 files changed
+111
-24
No files matched your search
@@ -3594,6 +3594,7 @@ async fn fork_startup_context_then_first_turn_diff_snapshot() -> anyhow::Result<
|
||||
.await;
|
||||
|
||||
let mut builder = test_codex().with_config(|config| {
|
||||
config.update_plan_enabled = true;
|
||||
config.permissions.approval_policy =
|
||||
codex_config::Constrained::allow_any(AskForApproval::OnRequest);
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user