mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:22:05 +00:00
Make app-server realtime sessions always available (#42377)
## What changed - Remove the per-thread `RealtimeConversation` feature check when starting a realtime session. - Retain `features.realtime_conversation` as a removed compatibility setting that has no effect, even when set to `false`. - Document the always-available behavior for `thread/realtime/start`. ## Testing - Cover realtime startup on forked and cold-resumed threads with the legacy setting absent, disabled, or enabled. GitOrigin-RevId: d9cd9aa3898d1c2efb9414a8f40c86be8951e210
This commit is contained in:
1 parent
665e5f45ab
commit
e1d0ef995f
5 files changed
+95
-83
No files matched your search
@@ -1148,12 +1148,6 @@ impl TurnRequestProcessor {
|
||||
Err(error) => return Err(error),
|
||||
}
|
||||
|
||||
if !thread.enabled(Feature::RealtimeConversation) {
|
||||
return Err(invalid_request(format!(
|
||||
"thread {thread_id} does not support realtime conversation"
|
||||
)));
|
||||
}
|
||||
|
||||
Ok(Some((thread_id, thread)))
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user