diff --git a/src/pages/api/chat.ts b/src/pages/api/chat.ts index 4e83e877c7..c9831b2595 100644 --- a/src/pages/api/chat.ts +++ b/src/pages/api/chat.ts @@ -144,7 +144,6 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => { jobTitle: token?.jobTitle as string, }); res.setHeader('Transfer-Encoding', 'chunked'); - res.setHeader('Content-Type', 'text/event-stream'); const reader = stream.getReader(); const processStream = async () => {