pub struct ConversationStartParams {Show 14 fields
pub client_managed_handoffs: bool,
pub flush_transcript_tail_on_session_end: bool,
pub codex_responses_as_items: bool,
pub codex_response_item_prefix: Option<String>,
pub codex_response_handoff_mode: CodexResponseHandoffMode,
pub model: Option<String>,
pub output_modality: RealtimeOutputModality,
pub include_startup_context: bool,
pub initial_items: Vec<ConversationTextParams>,
pub prompt: Option<Option<String>>,
pub realtime_session_id: Option<String>,
pub transport: Option<ConversationStartTransport>,
pub version: Option<RealtimeConversationVersion>,
pub voice: Option<RealtimeVoice>,
}Fields§
§client_managed_handoffs: boolWhether Codex response handoffs are managed through explicit client append calls.
flush_transcript_tail_on_session_end: boolWhether to route any remaining transcript tail through Codex when the session ends. TODO: Remove this rollout knob once transcript-tail flushing is always enabled.
codex_responses_as_items: boolSends automatic Codex responses as realtime conversation items instead of handoff appends.
codex_response_item_prefix: Option<String>Optional prefix added to automatic Codex response items when codex_responses_as_items is set.
codex_response_handoff_mode: CodexResponseHandoffModeSelects how automatic Codex handoffs are routed in Frameless Bidi sessions. Realtime V1 and V2 ignore this setting.
model: Option<String>Overrides the configured realtime model for this session only.
output_modality: RealtimeOutputModalitySelects whether the realtime session should produce text or audio output.
include_startup_context: boolWhether to append Codex’s startup context to the realtime backend prompt.
initial_items: Vec<ConversationTextParams>Complete role-bearing text items to include in the initial realtime session history.
prompt: Option<Option<String>>§realtime_session_id: Option<String>§transport: Option<ConversationStartTransport>§version: Option<RealtimeConversationVersion>Overrides the configured realtime protocol version for this session only.
voice: Option<RealtimeVoice>Trait Implementations§
Source§impl Clone for ConversationStartParams
impl Clone for ConversationStartParams
Source§fn clone(&self) -> ConversationStartParams
fn clone(&self) -> ConversationStartParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConversationStartParams
impl Debug for ConversationStartParams
Source§impl PartialEq for ConversationStartParams
impl PartialEq for ConversationStartParams
impl StructuralPartialEq for ConversationStartParams
Auto Trait Implementations§
impl Freeze for ConversationStartParams
impl RefUnwindSafe for ConversationStartParams
impl Send for ConversationStartParams
impl Sync for ConversationStartParams
impl Unpin for ConversationStartParams
impl UnsafeUnpin for ConversationStartParams
impl UnwindSafe for ConversationStartParams
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more