mirror of
https://github.com/openai/codex.git
synced 2026-11-26 23:40:43 +00:00
Group consecutive tool calls in the full-screen conversation (#60556)
## What changed - Combine adjacent tool calls into one expandable summary, including calls that move from live output into history. Label successful command groups with summaries such as `Explored files` and `Ran 2 commands`. - Include web searches in tool groups, hide duplicate provisional search entries, and show a single completed search directly. Preserve its reading position when it completes. - Refresh summaries as history changes while preserving pinned content during selection and reading. ## Testing Add regression coverage for web search completion, grouped search expansion, loading older history during selection, and command completion with an expanded summary. GitOrigin-RevId: 98f4e0c49cbf8014c25874cf47d1c0c92ee6b30d
This commit is contained in:
@@ -46,6 +46,7 @@ impl TranscriptView {
|
||||
if range.is_empty() {
|
||||
return;
|
||||
}
|
||||
self.invalidate_turn_details_from(range.start);
|
||||
self.retain_search_origin(cells, range.clone());
|
||||
if range.end == cells.len() && self.last_tail == cells.last().map(EntryKey::cell) {
|
||||
self.last_tail = Some(EntryKey::cell(replacement));
|
||||
@@ -93,6 +94,7 @@ impl TranscriptView {
|
||||
if range.is_empty() {
|
||||
return;
|
||||
}
|
||||
self.invalidate_turn_details_from(range.start);
|
||||
self.retain_search_origin(cells, range.clone());
|
||||
// Older history may extend the final group without introducing new activity.
|
||||
if range.end == cells.len() && self.last_tail == cells.last().map(EntryKey::cell) {
|
||||
|
||||
Reference in New Issue
Block a user