diff --git a/src/pages/api/chat.ts b/src/pages/api/chat.ts index 4f956dc1ce..4e6815a3cf 100644 --- a/src/pages/api/chat.ts +++ b/src/pages/api/chat.ts @@ -198,7 +198,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 () => {