Skip to content

Commit

Permalink
fix(examples/realtime): remove duplicate session.update call (#1293)
Browse files Browse the repository at this point in the history
  • Loading branch information
deyaaeldeen authored Jan 31, 2025
1 parent 6f89573 commit ad800b4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions examples/azure/realtime/ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ async function main() {
model: 'gpt-4o-realtime-preview',
},
});
rt.send({
type: 'session.update',
session: {
modalities: ['text'],
model: 'gpt-4o-realtime-preview',
},
});

rt.send({
type: 'conversation.item.create',
Expand Down
7 changes: 0 additions & 7 deletions examples/realtime/ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,6 @@ async function main() {
model: 'gpt-4o-realtime-preview',
},
});
rt.send({
type: 'session.update',
session: {
modalities: ['text'],
model: 'gpt-4o-realtime-preview',
},
});

rt.send({
type: 'conversation.item.create',
Expand Down

0 comments on commit ad800b4

Please sign in to comment.