mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Start side conversations without replaying inherited turns (#34198)
## What changed - Fork side conversations with `exclude_turns` so their initial UI starts empty instead of displaying the parent thread's turns. - Keep regular fork responses unchanged, including for ephemeral threads. ## Testing - Add coverage that compares regular and side-conversation forks of the same saved thread. GitOrigin-RevId: 662607e9f588c20a2e06656deefa5b70bde19cd2
This commit is contained in:
1 parent
3dd3c5d08a
commit
78fd2f2b28
2 files changed
+82
-1
No files matched your search
@@ -574,7 +574,10 @@ impl App {
|
||||
.await;
|
||||
|
||||
let fork_config = self.side_fork_config();
|
||||
match app_server.fork_thread(fork_config, parent_thread_id).await {
|
||||
match app_server
|
||||
.fork_side_thread(fork_config, parent_thread_id)
|
||||
.await
|
||||
{
|
||||
Ok(forked) => {
|
||||
let child_thread_id = forked.session.thread_id;
|
||||
let channel = self.ensure_thread_channel(child_thread_id);
|
||||
|
||||
Reference in new issue
Block a user