Skip to content

Commit 60fe011

Browse files
committed
Bumps to latest realtime model
1 parent 89101a6 commit 60fe011

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ In the tools you have the ability to control a robot hand.
99

1010
app.post('/rtc-connect', async (c) => {
1111
const body = await c.req.text();
12-
const url = new URL('https://api.openai.com/v1/realtime?model=gpt-4o-realtime-preview-2024-10-01');
12+
const url = new URL('https://api.openai.com/v1/realtime');
13+
url.searchParams.set('model', 'gpt-4o-realtime-preview-2024-12-17');
1314
url.searchParams.set('instructions', DEFAULT_INSTRUCTIONS);
1415
url.searchParams.set('voice', 'ash');
1516

0 commit comments

Comments
 (0)