We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c14fd00 commit 1667fcdCopy full SHA for 1667fcd
examples/realtime/twilio_sip/server.py
@@ -144,7 +144,10 @@ async def observe_call(call_id: str) -> None:
144
logger.info("Caller: %s", user_content.text)
145
elif isinstance(item, AssistantMessageItem):
146
for assistant_content in item.content:
147
- if isinstance(assistant_content, AssistantText) and assistant_content.text:
+ if (
148
+ isinstance(assistant_content, AssistantText)
149
+ and assistant_content.text
150
+ ):
151
logger.info("Assistant (text): %s", assistant_content.text)
152
elif (
153
isinstance(assistant_content, AssistantAudio)
0 commit comments