[codex][app-server] resume conversation from history (#5893)

This commit is contained in:
Anton Panasenko authored and GitHub committed 2025-10-28 18:18:03 -07:00
1 parent 1d76ba5ebe
commit 149e198ce8
5 files changed
+263 -52

No files matched your search

+1 -1
View File
@@ -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() {