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 899c5bb commit 88a6119Copy full SHA for 88a6119
examples/poet_chat/main.py
@@ -42,9 +42,6 @@ async def _openai_recv():
42
elif event.data.type == "turn_ended":
43
print(f"Agent said:\n{msg}\n")
44
msg = ""
45
- elif event.data.type == "error":
46
- print(event.data.error)
47
- raise RuntimeError("Unexpected error from OpenAI API!")
48
elif event.data.type == "exception":
49
raise event.data.exception
50
elif event.data.type == "raw_server_event":
examples/poet_chat/poet_chat/agent.py
@@ -12,8 +12,6 @@
12
"input_audio_format": "pcm16",
13
"output_audio_format": "pcm16",
14
"turn_detection": {
15
- "interrupt_response": True,
16
- "create_response": True,
17
"type": "semantic_vad",
18
},
19
}
0 commit comments