From d31fe77d5535e81633e41450cab731ec73f58f00 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 6 Jul 2023 15:24:05 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(utils.py):=20remove=20unnece?= =?UTF-8?q?ssary=20or=20operator=20in=20process=5Fgraph=20function=20call?= =?UTF-8?q?=20The=20unnecessary=20or=20operator=20in=20the=20process=5Fgra?= =?UTF-8?q?ph=20function=20call=20has=20been=20removed.=20The=20chat=5Finp?= =?UTF-8?q?uts.message=20parameter=20is=20now=20passed=20directly=20to=20t?= =?UTF-8?q?he=20get=5Fresult=5Fand=5Fsteps=20function.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/chat/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/langflow/chat/utils.py b/src/backend/langflow/chat/utils.py index 5047438f2..d070a7457 100644 --- a/src/backend/langflow/chat/utils.py +++ b/src/backend/langflow/chat/utils.py @@ -23,7 +23,7 @@ async def process_graph( try: logger.debug("Generating result and thought") result, intermediate_steps = await get_result_and_steps( - langchain_object, chat_inputs.message or "", websocket=websocket + langchain_object, chat_inputs.message, websocket=websocket ) logger.debug("Generated result and intermediate_steps") return result, intermediate_steps