mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Delay automatic recaps and compact their TUI layout (#45089)
## What changed - Increase the automatic recap delay from 3 to 30 minutes. - Replace the recap heading and divider with an italic `↳ Recap:` layout, hanging indentation, and right padding. Preserve explicit line breaks and Unicode, splitting URLs only when they exceed the available text column. - Use Tokio's clock for automatic recap eligibility and create the timer before spawning its task. - Remove the `token_budget.use_history_notes_extension` override from temporary structured requests. ## Testing Add coverage for the 30-minute deadline, recap styling, narrow terminals, Unicode, and URL wrapping. Update recap generation and reconnect tests to advance Tokio's clock instead of relying on host uptime. GitOrigin-RevId: 79a9bca779020b59a409207163b02944b30c1a20
This commit is contained in:
1 parent
ee6814bfa4
commit
f16c2237a5
7 files changed
+193
-62
No files matched your search
@@ -84,10 +84,6 @@ pub(crate) async fn start_temporary_thread(
|
||||
("features.view_image".to_string(), false.into()),
|
||||
("orchestrator.skills.enabled".to_string(), false.into()),
|
||||
("skills.include_instructions".to_string(), false.into()),
|
||||
(
|
||||
"token_budget.use_history_notes_extension".to_string(),
|
||||
false.into(),
|
||||
),
|
||||
(
|
||||
"tools.experimental_request_user_input.enabled".to_string(),
|
||||
false.into(),
|
||||
|
||||
Reference in new issue
Block a user