mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08: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:
committed by
GitHub
Unverified
parent
9effa0509f
commit
7995c66032
@@ -80,6 +80,11 @@ pub enum ResponseEvent {
|
||||
token_usage: Option<TokenUsage>,
|
||||
},
|
||||
OutputTextDelta(String),
|
||||
ToolCallInputDelta {
|
||||
item_id: String,
|
||||
call_id: Option<String>,
|
||||
delta: String,
|
||||
},
|
||||
ReasoningSummaryDelta {
|
||||
delta: String,
|
||||
summary_index: i64,
|
||||
|
||||
Reference in New Issue
Block a user