Skip to content

Conversation

M4n5ter
Copy link
Contributor

@M4n5ter M4n5ter commented Sep 7, 2025

This commit adds a re-export for InitialHistory from the internal conversation_manager module in codex-core's lib.rs.

The RolloutRecorder::get_rollout_history method (exposed via pub use rollout::RolloutRecorder;, already present in lib.rs) returns an InitialHistory type, which is defined in the private conversation_manager module. Without this re-export, consumers of the public RolloutRecorder API would not be able to directly use the return type, as they cannot access the private module. This would result in an inconvenient experience where the method's return value cannot be handled without additional, non-obvious imports.

By adding pub use conversation_manager::InitialHistory;, we make InitialHistory available as codex_core::InitialHistory, improving API ergonomics for users of the rollout functionality while keeping the conversation_manager module internal.

No functional changes are made; this is a pure re-export for better usability.

@bolinfest bolinfest self-requested a review September 9, 2025 17:36
@bolinfest bolinfest merged commit ac8a315 into openai:main Sep 9, 2025
18 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Sep 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants