Skip to content

Commit 0cc4805

Browse files
authored
fix: #2760 wait for realtime response.done before follow-up response.create (#2763)
1 parent 681320e commit 0cc4805

3 files changed

Lines changed: 972 additions & 9 deletions

File tree

examples/realtime/app/agent.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def get_weather(city: str) -> str:
9090
f"{RECOMMENDED_PROMPT_PREFIX} "
9191
"You are a helpful triaging agent. You can use your tools to delegate questions to other appropriate agents."
9292
),
93+
tools=[get_weather],
9394
handoffs=[faq_agent, realtime_handoff(seat_booking_agent)],
9495
)
9596

0 commit comments

Comments
 (0)