mirror of
https://github.com/openai/codex.git
synced 2026-02-01 22:47:52 +00:00
doc
This commit is contained in:
@@ -3173,9 +3173,7 @@ mod handlers {
|
||||
/// Apply turn-context history updates after rollback.
|
||||
///
|
||||
/// Truncates the stored history by the requested rollback depth, then pads to match the
|
||||
/// surviving user-turn count. If the latest user turn has a stored collaboration mode,
|
||||
/// update the session configuration; otherwise, force re-injection of collaboration
|
||||
/// instructions on the next turn.
|
||||
/// surviving user-turn count.
|
||||
fn apply_rollback_turn_context_history(
|
||||
state: &mut SessionState,
|
||||
existing_turn_context_history: Vec<Option<TurnContextItem>>,
|
||||
|
||||
Reference in New Issue
Block a user