mirror of
https://github.com/openai/codex.git
synced 2026-05-01 11:52:10 +03:00
Support end_turn flag (#9698)
Experimental flag that signals the end of the turn.
This commit is contained in:
@@ -330,6 +330,7 @@ async fn append_assistant_text(
|
||||
id: None,
|
||||
role: "assistant".to_string(),
|
||||
content: vec![],
|
||||
end_turn: None,
|
||||
};
|
||||
*assistant_item = Some(item.clone());
|
||||
let _ = tx_event
|
||||
|
||||
Reference in New Issue
Block a user