Skip to content

Commit d74b983

Browse files
committed
chore: disable storing responses to openai
1 parent ce39748 commit d74b983

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ export async function POST(request: Request) {
102102
searchContextSize: 'medium'
103103
})
104104
},
105+
providerOptions: {
106+
openai: {
107+
store: false,
108+
}
109+
},
105110
onFinish: async ({ response, reasoning }) => {
106111
if (session.user?.id) {
107112
try {

0 commit comments

Comments
 (0)