Skip to content

Question on realtime agent: behaviour related to conversation.item.truncate truncate event. #1999

@nbondoux

Description

@nbondoux

Hello,
In the realtime agent code (agents/realtime/openai_realtime.py), I can read the following comment in the input_audio_buffer.speech_started handler:
"
# Avoid sending conversation.item.truncate here; when GA is set to
# interrupt on VAD start, the server will handle truncation.
"

I wanted to double-check with you that it is true, because I see nowhere in the documentation of the realtime API that the conversation.item.truncate is automatically handled on server side.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions