ThreadRealtimeStartParams
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| CodexBaseModel codexed.models.base Base model for all Codex API models. |
â‹” Inheritance diagram¶
graph TD
2023013177["v2_protocol.ThreadRealtimeStartParams"]
3116041069["base.CodexBaseModel"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
3116041069 --> 2023013177
3879467795 --> 3116041069
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: CodexBaseModel
EXPERIMENTAL - start a thread-scoped realtime session.
Source code in src/codexed/models/v2_protocol.py
10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 | |
backend_reasoning_status
class-attribute
instance-attribute
¶
Relays public reasoning summaries as quiet context for realtime V3 delegations. Defaults to false.
client_managed_handoffs
class-attribute
instance-attribute
¶
Leaves Codex response handoffs to the client's explicit append calls instead of forwarding them automatically. Defaults to false.
codex_response_handoff_channel_prefixes
class-attribute
instance-attribute
¶
Overrides BEM channel prefixes by analysis, commentary, or final. Omitted channels retain their default uppercase bracketed prefixes.
codex_response_handoff_mode
class-attribute
instance-attribute
¶
Selects how automatic Codex responses are routed in Frameless Bidi sessions. Omitted values default to thinking. Realtime V1 and V2 ignore this setting.
codex_response_item_prefix
class-attribute
instance-attribute
¶
Optional prefix added to automatic Codex response items when codexResponsesAsItems is true.
codex_responses_as_items
class-attribute
instance-attribute
¶
Sends automatic Codex responses as realtime conversation items instead of handoff appends.
delegation_ack_filler
class-attribute
instance-attribute
¶
Controls whether a realtime V3 delegation produces an acknowledgement filler. Omitted values preserve the Realtime API's default behavior.
flush_transcript_tail_on_session_end
class-attribute
instance-attribute
¶
Routes any transcript tail remaining at session end through Codex. Defaults to false. TODO: Remove this rollout knob once transcript-tail flushing is always enabled.
include_startup_context
class-attribute
instance-attribute
¶
Set to false to start without Codex's startup context. Omitted or null includes it.
initial_items
class-attribute
instance-attribute
¶
initial_items: list[ThreadRealtimeInitialItem] | None = None
Adds complete role-bearing text items to the initial Frameless Bidi session history. This is only supported by realtime V3 and is sent during session startup. Requests are limited to 128 items and 8,192 estimated text tokens in total.
model
class-attribute
instance-attribute
¶
Overrides the configured realtime model for this session only.
output_modality
instance-attribute
¶
Selects text or audio output for the realtime session. Transport and voice stay independent so clients can choose how they connect separately from what the model emits.
realtime_end_instructions
class-attribute
instance-attribute
¶
Developer instructions given to the backing Codex model when this realtime session ends.
realtime_start_instructions
class-attribute
instance-attribute
¶
Developer instructions given to the backing Codex model when this realtime session starts.
version
class-attribute
instance-attribute
¶
Overrides the configured realtime protocol version for this session only.
voice_session_id
class-attribute
instance-attribute
¶
Client-generated identifier for the product voice session. This is distinct from realtimeSessionId.