From c86f72e7a622828ff6c0ae512ce444c79cf003dc Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Tue, 27 Jun 2023 10:11:39 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=89=20feat(config.py):=20add=20ChatCon?= =?UTF-8?q?fig=20class=20with=20streaming=20attribute=20set=20to=20True=20?= =?UTF-8?q?The=20ChatConfig=20class=20is=20added=20to=20the=20project=20wi?= =?UTF-8?q?th=20a=20single=20attribute,=20streaming,=20set=20to=20True.=20?= =?UTF-8?q?This=20attribute=20is=20used=20to=20determine=20whether=20the?= =?UTF-8?q?=20chatbot=20should=20use=20streaming=20or=20request-response?= =?UTF-8?q?=20communication=20with=20the=20client.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/chat/config.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 src/backend/langflow/chat/config.py diff --git a/src/backend/langflow/chat/config.py b/src/backend/langflow/chat/config.py new file mode 100644 index 000000000..274f4d5bd --- /dev/null +++ b/src/backend/langflow/chat/config.py @@ -0,0 +1,2 @@ +class ChatConfig: + streaming: bool = True