Skip to content

release: 4.97.0 #1489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: fix "procesing" -> "processing" in realtime examples (#1406)
  • Loading branch information
mini-peanut authored May 2, 2025
commit 8717b9fce87d03e51d40ee58f5d6259408405e1f
4 changes: 2 additions & 2 deletions examples/azure/realtime/websocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

rt.on('error', (err) => {
// in a real world scenario this should be logged somewhere as you
// likely want to continue procesing events regardless of any errors
// likely want to continue processing events regardless of any errors
throw err;
});

Expand All @@ -57,4 +57,4 @@
rt.socket.addEventListener('close', () => console.log('\nConnection closed!'));
}

main();
main();

Check failure on line 60 in examples/azure/realtime/websocket.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`

Check failure on line 60 in examples/azure/realtime/websocket.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`

Check failure on line 60 in examples/azure/realtime/websocket.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`
4 changes: 2 additions & 2 deletions examples/azure/realtime/ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

rt.on('error', (err) => {
// in a real world scenario this should be logged somewhere as you
// likely want to continue procesing events regardless of any errors
// likely want to continue processing events regardless of any errors
throw err;
});

Expand All @@ -57,4 +57,4 @@
rt.socket.on('close', () => console.log('\nConnection closed!'));
}

main();
main();

Check failure on line 60 in examples/azure/realtime/ws.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`

Check failure on line 60 in examples/azure/realtime/ws.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`

Check failure on line 60 in examples/azure/realtime/ws.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`
4 changes: 2 additions & 2 deletions examples/realtime/websocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

rt.on('error', (err) => {
// in a real world scenario this should be logged somewhere as you
// likely want to continue procesing events regardless of any errors
// likely want to continue processing events regardless of any errors
throw err;
});

Expand All @@ -45,4 +45,4 @@
rt.socket.addEventListener('close', () => console.log('\nConnection closed!'));
}

main();
main();

Check failure on line 48 in examples/realtime/websocket.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`

Check failure on line 48 in examples/realtime/websocket.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`

Check failure on line 48 in examples/realtime/websocket.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`
4 changes: 2 additions & 2 deletions examples/realtime/ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

rt.on('error', (err) => {
// in a real world scenario this should be logged somewhere as you
// likely want to continue procesing events regardless of any errors
// likely want to continue processing events regardless of any errors
throw err;
});

Expand All @@ -45,4 +45,4 @@
rt.socket.on('close', () => console.log('\nConnection closed!'));
}

main();
main();

Check failure on line 48 in examples/realtime/ws.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`

Check failure on line 48 in examples/realtime/ws.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`

Check failure on line 48 in examples/realtime/ws.ts

View workflow job for this annotation

GitHub Actions / lint

Insert `⏎`
7 changes: 3 additions & 4 deletions realtime.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ rt.socket.on('open', () => {

rt.on('error', (err) => {
// in a real world scenario this should be logged somewhere as you
// likely want to continue procesing events regardless of any errors
// likely want to continue processing events regardless of any errors
throw err;
});

Expand Down Expand Up @@ -80,8 +80,7 @@ It is **highly recommended** that you register an `error` event listener and han
const rt = new OpenAIRealtimeWS({ model: 'gpt-4o-realtime-preview-2024-12-17' });
rt.on('error', (err) => {
// in a real world scenario this should be logged somewhere as you
// likely want to continue procesing events regardless of any errors
// likely want to continue processing events regardless of any errors
throw err;
});
```

```
Loading