mirror of
https://github.com/openai/codex.git
synced 2026-10-19 16:17:49 +00:00
Enable instant interrupts by default (#51812)
## What changed Enable `instant_interrupt` by default so new user input can preempt responses and yield foreground code-mode observations. Keep the feature marked as under development and update feature-policy tests to allow this exception. Explicitly disable instant interrupts in core, TUI, and Python SDK tests that depend on responses completing before steering or processing subsequent input. GitOrigin-RevId: a8cab2d6c445bfdbd10b0b2abcf7893d32ee8595
This commit is contained in:
@@ -20,7 +20,7 @@ def test_turn_steer_adds_follow_up_input(tmp_path) -> None:
|
||||
)
|
||||
|
||||
with Codex(config=harness.app_server_config()) as codex:
|
||||
thread = codex.thread_start()
|
||||
thread = codex.thread_start(config={"features.instant_interrupt": False})
|
||||
turn = thread.turn("Start a steerable turn.")
|
||||
harness.responses.wait_for_requests(1)
|
||||
steer = turn.steer("Use this steering input.")
|
||||
|
||||
Reference in New Issue
Block a user