mirror of
https://github.com/openai/codex.git
synced 2026-11-28 07:32:19 +00:00
Support end_turn flag (#9698)
Experimental flag that signals the end of the turn.
This commit is contained in:
1 parent
4d48d4e0c2
commit
b511c38ddb
31 files changed
+92
-4
No files matched your search
@@ -193,6 +193,7 @@ impl Stream for AggregatedStream {
|
||||
content: vec![ContentItem::OutputText {
|
||||
text: std::mem::take(&mut this.cumulative),
|
||||
}],
|
||||
end_turn: None,
|
||||
};
|
||||
this.pending
|
||||
.push_back(ResponseEvent::OutputItemDone(aggregated_message));
|
||||
|
||||
Reference in new issue
Block a user