Skip to content

Commit ce39748

Browse files
committed
chore: align naming conventions
1 parent c7b6d04 commit ce39748

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/(chat)/api/chat/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export async function POST(request: Request) {
8686
'createDocument',
8787
'updateDocument',
8888
'requestSuggestions',
89-
'web_search_preview'
89+
'webSearchPreview'
9090
],
9191
experimental_transform: smoothStream({ chunking: 'word' }),
9292
experimental_generateMessageId: generateUUID,
@@ -98,7 +98,7 @@ export async function POST(request: Request) {
9898
session,
9999
dataStream,
100100
}),
101-
web_search_preview: openai.tools.webSearchPreview({
101+
webSearchPreview: openai.tools.webSearchPreview({
102102
searchContextSize: 'medium'
103103
})
104104
},

0 commit comments

Comments
 (0)