Describe the bug
When using realtime agent with websocket, and not using playback tracker, truncate events are sent even when there is no interruption.
- the llm answers an error message since the audio_end_ms parameter is bigger than the length of the message to truncate
- it seems truncate events have side effect, even when they don't truncate anything. We observed a change of behaviour from the model, with the tendency to repeat itself.
I would suggest to send truncate events only when it is needed
Debug information
- Agents SDK version: 0.6.9
- Python version: Python 3.13
Repro steps
Expected behavior
truncate event to be generated only when truncation is needed.