Skip to content

Commit 71399e7

Browse files
authored
docs: Fix the code snippet for tools for server-side delegation in RealtimeAgent (#21)
1 parent e99af16 commit 71399e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/docs/voice-agents/delegationAgent.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ const agent = new RealtimeAgent({
2727
name: 'Customer Support',
2828
instructions:
2929
'You are a customer support agent. If you receive any requests for refunds, you need to delegate to your supervisor.',
30+
tools: [refundSupervisor],
3031
});

0 commit comments

Comments
 (0)