Skip to content

Commit 6ca92f3

Browse files
committed
override dg model
1 parent 63e8521 commit 6ca92f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/api/src/deepgram.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,9 @@ export const buildDeepgramUrl = (incomingUrl: URL) => {
365365
const target = new URL("wss://api.deepgram.com/v1/listen");
366366

367367
incomingUrl.searchParams.forEach((value, key) => {
368-
target.searchParams.append(key, value);
368+
target.searchParams.set(key, value);
369369
});
370+
target.searchParams.set("model", "nova-3-general");
370371
target.searchParams.set("mip_opt_out", "false");
371372

372373
return target;

0 commit comments

Comments
 (0)