---
type: email
from: Shehan Panditharatne <notifications@github.com>
subject: Re: [openai/openai-agents-python] error: cannot update a

 conversation's voice if assistant audio is present bug (Issue #1661)
received: 2026-03-06 07:21:44
date_header: Thu, 04 Sep 2025 08:31:34 -0700
priority: normal
status: awaiting_approval
uid: 29513
---

## Email Content

**From:** Shehan Panditharatne <notifications@github.com>
**Subject:** Re: [openai/openai-agents-python] error: cannot update a

 conversation's voice if assistant audio is present bug (Issue #1661)
**Date:** Thu, 04 Sep 2025 08:31:34 -0700

### Body (preview)

shehan360 left a comment (openai/openai-agents-python#1661)



This issue doesnt occur if you provide the model settings when creating the runner!



```

runner = RealtimeRunner(

            starting_agent=self.realtime_agent,

            config=RealtimeRunConfig(

                model_settings=RealtimeSessionModelSettings(

                    model_name="gpt-4o-realtime-preview-2025-06-03",

                    input_audio_format="pcm16",

                    output_audio_format="pcm16",

                    input_audio_transcription=RealtimeInputAudioTranscriptionConfig(

                        model="gpt-4o-transcribe",

                        language="en",

                    ),

                    voice="alloy",

                    speed=1.2,

                ),

            ),

        )

self.session_context = await runner.run()

```



-- 

Reply to this email directly or view it on GitHub:

https://github.com/openai/openai-agents-python/issues/1661#issuecomment-3254251379

You are receiving this because you are subscribed to this thread.



Message ID: <openai/openai-agents-python/issues/1661/3254251379@github.com>

---

## Suggested Actions
- [ ] Reply
- [ ] Archive
- [ ] Escalate
