Stateful streaming apply_patch parser

This commit is contained in:
Akshay Nathan
2026-04-30 14:41:15 -07:00
committed by GitHub
parent 7b3de63041
commit 8426edf71e
8 changed files with 963 additions and 359 deletions

View File

@@ -1027,7 +1027,7 @@ async fn apply_patch_custom_tool_streaming_emits_updated_changes() -> Result<()>
.changes
.get(&std::path::PathBuf::from("streamed.txt")),
Some(&codex_protocol::protocol::FileChange::Add {
content: "hello\n".to_string(),
content: String::new(),
})
);
assert_eq!(