🐛 fix(utils.py): remove unnecessary or operator in process_graph function call

The unnecessary or operator in the process_graph function call has been removed. The chat_inputs.message parameter is now passed directly to the get_result_and_steps function.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-07-06 15:24:05 -03:00
commit d31fe77d55

View file

@ -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