From 4d165d11ebfca24829182bd410b22553782c5505 Mon Sep 17 00:00:00 2001 From: marknguyen1302 Date: Wed, 31 Jul 2024 21:08:58 +0700 Subject: [PATCH] fix: remove hardcode stream --- cortex-js/src/infrastructure/controllers/chat.controller.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/cortex-js/src/infrastructure/controllers/chat.controller.ts b/cortex-js/src/infrastructure/controllers/chat.controller.ts index cce182e4e..9c8da76a2 100644 --- a/cortex-js/src/infrastructure/controllers/chat.controller.ts +++ b/cortex-js/src/infrastructure/controllers/chat.controller.ts @@ -34,8 +34,6 @@ export class ChatController { @Res() res: Response, ) { let { stream } = createChatDto; - stream = false; - createChatDto.stream = stream; this.chatService .inference(createChatDto, extractCommonHeaders(headers)) .then((response) => {