mirror of
https://github.com/openai/codex.git
synced 2026-06-01 19:02:59 +00:00
Stream apply_patch changes (#17862)
Adds new events for streaming apply_patch changes from responses api. This is to enable clients to show progress during file writes. Caveat: This does not work with apply_patch in function call mode, since that required adding streaming json parsing.
This commit is contained in:
@@ -18,8 +18,9 @@ use codex_utils_absolute_path::AbsolutePathBuf;
|
||||
pub use parser::Hunk;
|
||||
pub use parser::ParseError;
|
||||
use parser::ParseError::*;
|
||||
use parser::UpdateFileChunk;
|
||||
pub use parser::UpdateFileChunk;
|
||||
pub use parser::parse_patch;
|
||||
pub use parser::parse_patch_streaming;
|
||||
use similar::TextDiff;
|
||||
use thiserror::Error;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user