Skip to content

Commit bee88ab

Browse files
authored
Merge pull request #151 from Pash10g/new-gpt-realtime
Update model name in session route
2 parents 6100a26 + 8f421c6 commit bee88ab

File tree

1 file changed

+3
-2
lines changed
  • apps/RT-voice-ts-store-agent/app/api/session

1 file changed

+3
-2
lines changed

apps/RT-voice-ts-store-agent/app/api/session/route.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { NextResponse } from "next/server"
1+
2+
\\import { NextResponse } from "next/server"
23

34
export async function POST() {
45
try {
@@ -12,7 +13,7 @@ export async function POST() {
1213
"Content-Type": "application/json",
1314
},
1415
body: JSON.stringify({
15-
model: "gpt-4o-realtime-preview-2024-12-17",
16+
model: "gpt-realtime",
1617
voice: "alloy",
1718
modalities: ["audio", "text"],
1819
instructions:

0 commit comments

Comments
 (0)