Skip to content

Commit a0519f5

Browse files
deyaaeldeenstainless-app[bot]
authored andcommitted
fix(examples/realtime): remove duplicate session.update call (#1293)
1 parent 6f89573 commit a0519f5

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

Diff for: examples/azure/realtime/ws.ts

-7
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@ async function main() {
2525
model: 'gpt-4o-realtime-preview',
2626
},
2727
});
28-
rt.send({
29-
type: 'session.update',
30-
session: {
31-
modalities: ['text'],
32-
model: 'gpt-4o-realtime-preview',
33-
},
34-
});
3528

3629
rt.send({
3730
type: 'conversation.item.create',

Diff for: examples/realtime/ws.ts

-7
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,6 @@ async function main() {
1313
model: 'gpt-4o-realtime-preview',
1414
},
1515
});
16-
rt.send({
17-
type: 'session.update',
18-
session: {
19-
modalities: ['text'],
20-
model: 'gpt-4o-realtime-preview',
21-
},
22-
});
2316

2417
rt.send({
2518
type: 'conversation.item.create',

0 commit comments

Comments
 (0)