mirror of
https://github.com/openai/codex.git
synced 2026-11-03 08:22:30 +00:00
[codex][app-server] resume conversation from history (#5893)
This commit is contained in:
1 parent
1d76ba5ebe
commit
149e198ce8
5 files changed
+263
-52
No files matched your search
@@ -207,7 +207,7 @@ impl RolloutRecorder {
|
||||
.map_err(|e| IoError::other(format!("failed waiting for rollout flush: {e}")))
|
||||
}
|
||||
|
||||
pub(crate) async fn get_rollout_history(path: &Path) -> std::io::Result<InitialHistory> {
|
||||
pub async fn get_rollout_history(path: &Path) -> std::io::Result<InitialHistory> {
|
||||
info!("Resuming rollout from {path:?}");
|
||||
let text = tokio::fs::read_to_string(path).await?;
|
||||
if text.trim().is_empty() {
|
||||
|
||||
Reference in new issue
Block a user