Skip to content

Commit

Permalink
refactor(examples): removedduplicated 'messageDelta' streaming event. (
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlevy0 authored Jul 8, 2024
1 parent d094e83 commit 7b0b3d2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/assistant-stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ async function main() {
.on('textDelta', (delta, snapshot) => console.log(snapshot))
.on('messageDelta', (delta, snapshot) => console.log(snapshot))
.on('run', (run) => console.log(run))
.on('messageDelta', (delta, snapshot) => console.log(snapshot))
.on('connect', () => console.log());
const result = await run.finalRun();
console.log('Run Result' + result);
Expand Down

0 comments on commit 7b0b3d2

Please sign in to comment.