From 97247022343a43031f71f605d8d295bd73f32376 Mon Sep 17 00:00:00 2001 From: Mikita Butsko Date: Tue, 5 Dec 2023 11:46:47 +0100 Subject: [PATCH] fix: revert adding content types for chat api (#288) * Revert "fix: use correct content type for chat api (#280)" This reverts commit 37ba516c6d45c4f782f668cc83eb61582532dc7c. * empty commit --- src/pages/api/chat.ts | 1 - 1 file changed, 1 deletion(-) 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 () => {