better-horse-7195
08/09/2025, 1:24 AMmany-actor-93694
08/09/2025, 4:18 AMdef say(
self,
text: str | AsyncIterable[str],
*,
audio: NotGivenOr[AsyncIterable[rtc.AudioFrame]] = NOT_GIVEN,
allow_interruptions: NotGivenOr[bool] = NOT_GIVEN,
add_to_chat_ctx: bool = True,
)
here is the usage:
await agent_session.say(
text=config.initial_greeting,
allow_interruptions=False
)
This is covered in the agent documentation.
If you want to hire me to fix this for you send me a DM otherwise you can ask this kind of question in
#C07FY8WHGPM when its a simple programming question.