2828 call_reject_params ,
2929)
3030from ...types .responses .response_prompt_param import ResponsePromptParam
31+ from ...types .realtime .realtime_reasoning_param import RealtimeReasoningParam
3132from ...types .realtime .realtime_truncation_param import RealtimeTruncationParam
3233from ...types .realtime .realtime_audio_config_param import RealtimeAudioConfigParam
3334from ...types .realtime .realtime_tools_config_param import RealtimeToolsConfigParam
@@ -121,6 +122,7 @@ def accept(
121122 Literal [
122123 "gpt-realtime" ,
123124 "gpt-realtime-1.5" ,
125+ "gpt-realtime-2" ,
124126 "gpt-realtime-2025-08-28" ,
125127 "gpt-4o-realtime-preview" ,
126128 "gpt-4o-realtime-preview-2024-10-01" ,
@@ -139,7 +141,9 @@ def accept(
139141 ]
140142 | Omit = omit ,
141143 output_modalities : List [Literal ["text" , "audio" ]] | Omit = omit ,
144+ parallel_tool_calls : bool | Omit = omit ,
142145 prompt : Optional [ResponsePromptParam ] | Omit = omit ,
146+ reasoning : RealtimeReasoningParam | Omit = omit ,
143147 tool_choice : RealtimeToolChoiceConfigParam | Omit = omit ,
144148 tools : RealtimeToolsConfigParam | Omit = omit ,
145149 tracing : Optional [RealtimeTracingConfigParam ] | Omit = omit ,
@@ -188,9 +192,14 @@ def accept(
188192 can be used to make the model respond with text only. It is not possible to
189193 request both `text` and `audio` at the same time.
190194
195+ parallel_tool_calls: Whether the model may call multiple tools in parallel. Only supported by
196+ reasoning Realtime models such as `gpt-realtime-2`.
197+
191198 prompt: Reference to a prompt template and its variables.
192199 [Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts).
193200
201+ reasoning: Configuration for reasoning-capable Realtime models such as `gpt-realtime-2`.
202+
194203 tool_choice: How the model chooses tools. Provide one of the string modes or force a specific
195204 function/MCP tool.
196205
@@ -245,7 +254,9 @@ def accept(
245254 "max_output_tokens" : max_output_tokens ,
246255 "model" : model ,
247256 "output_modalities" : output_modalities ,
257+ "parallel_tool_calls" : parallel_tool_calls ,
248258 "prompt" : prompt ,
259+ "reasoning" : reasoning ,
249260 "tool_choice" : tool_choice ,
250261 "tools" : tools ,
251262 "tracing" : tracing ,
@@ -471,6 +482,7 @@ async def accept(
471482 Literal [
472483 "gpt-realtime" ,
473484 "gpt-realtime-1.5" ,
485+ "gpt-realtime-2" ,
474486 "gpt-realtime-2025-08-28" ,
475487 "gpt-4o-realtime-preview" ,
476488 "gpt-4o-realtime-preview-2024-10-01" ,
@@ -489,7 +501,9 @@ async def accept(
489501 ]
490502 | Omit = omit ,
491503 output_modalities : List [Literal ["text" , "audio" ]] | Omit = omit ,
504+ parallel_tool_calls : bool | Omit = omit ,
492505 prompt : Optional [ResponsePromptParam ] | Omit = omit ,
506+ reasoning : RealtimeReasoningParam | Omit = omit ,
493507 tool_choice : RealtimeToolChoiceConfigParam | Omit = omit ,
494508 tools : RealtimeToolsConfigParam | Omit = omit ,
495509 tracing : Optional [RealtimeTracingConfigParam ] | Omit = omit ,
@@ -538,9 +552,14 @@ async def accept(
538552 can be used to make the model respond with text only. It is not possible to
539553 request both `text` and `audio` at the same time.
540554
555+ parallel_tool_calls: Whether the model may call multiple tools in parallel. Only supported by
556+ reasoning Realtime models such as `gpt-realtime-2`.
557+
541558 prompt: Reference to a prompt template and its variables.
542559 [Learn more](https://platform.openai.com/docs/guides/text?api-mode=responses#reusable-prompts).
543560
561+ reasoning: Configuration for reasoning-capable Realtime models such as `gpt-realtime-2`.
562+
544563 tool_choice: How the model chooses tools. Provide one of the string modes or force a specific
545564 function/MCP tool.
546565
@@ -595,7 +614,9 @@ async def accept(
595614 "max_output_tokens" : max_output_tokens ,
596615 "model" : model ,
597616 "output_modalities" : output_modalities ,
617+ "parallel_tool_calls" : parallel_tool_calls ,
598618 "prompt" : prompt ,
619+ "reasoning" : reasoning ,
599620 "tool_choice" : tool_choice ,
600621 "tools" : tools ,
601622 "tracing" : tracing ,
0 commit comments