mirror of
https://github.com/openai/codex.git
synced 2026-04-26 07:35:29 +00:00
add none personality option (#10688)
- add none personality enum value and empty placeholder behavior\n- add docs/schema updates and e2e coverage
This commit is contained in:
@@ -375,6 +375,10 @@ pub fn sse(events: Vec<Value>) -> String {
|
||||
out
|
||||
}
|
||||
|
||||
pub fn sse_completed(id: &str) -> String {
|
||||
sse(vec![ev_response_created(id), ev_completed(id)])
|
||||
}
|
||||
|
||||
/// Convenience: SSE event for a completed response with a specific id.
|
||||
pub fn ev_completed(id: &str) -> Value {
|
||||
serde_json::json!({
|
||||
|
||||
Reference in New Issue
Block a user