mirror of
https://github.com/openai/codex.git
synced 2026-05-04 21:32:21 +03:00
feat: ephemeral threads (#9765)
Add ephemeral threads capabilities. Only exposed through the `app-server` v2 The idea is to disable the rollout recorder for those threads.
This commit is contained in:
@@ -2014,14 +2014,14 @@ impl App {
|
||||
history_log_id: 0,
|
||||
history_entry_count: 0,
|
||||
initial_messages: None,
|
||||
rollout_path: PathBuf::new(),
|
||||
rollout_path: Some(PathBuf::new()),
|
||||
});
|
||||
session_configured.session_id = thread_id;
|
||||
session_configured.forked_from_id = None;
|
||||
session_configured.history_log_id = 0;
|
||||
session_configured.history_entry_count = 0;
|
||||
session_configured.initial_messages = None;
|
||||
session_configured.rollout_path = PathBuf::new();
|
||||
session_configured.rollout_path = Some(PathBuf::new());
|
||||
session_configured
|
||||
}
|
||||
|
||||
@@ -2576,7 +2576,7 @@ mod tests {
|
||||
history_log_id: 0,
|
||||
history_entry_count: 0,
|
||||
initial_messages: None,
|
||||
rollout_path: PathBuf::new(),
|
||||
rollout_path: Some(PathBuf::new()),
|
||||
};
|
||||
Arc::new(new_session_info(
|
||||
app.chat_widget.config_ref(),
|
||||
@@ -2628,7 +2628,7 @@ mod tests {
|
||||
history_log_id: 0,
|
||||
history_entry_count: 0,
|
||||
initial_messages: None,
|
||||
rollout_path: PathBuf::new(),
|
||||
rollout_path: Some(PathBuf::new()),
|
||||
}),
|
||||
});
|
||||
|
||||
@@ -2673,7 +2673,7 @@ mod tests {
|
||||
history_log_id: 0,
|
||||
history_entry_count: 0,
|
||||
initial_messages: None,
|
||||
rollout_path: PathBuf::new(),
|
||||
rollout_path: Some(PathBuf::new()),
|
||||
};
|
||||
|
||||
app.chat_widget.handle_codex_event(Event {
|
||||
|
||||
Reference in New Issue
Block a user