Add output to return statement in

get_result_and_steps function
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-11-22 21:12:40 -03:00
commit 0a38f2d271

View file

@ -95,4 +95,4 @@ async def get_result_and_steps(langchain_object, inputs: Union[dict, str], **kwa
except Exception as exc:
logger.exception(exc)
raise ValueError(f"Error: {str(exc)}") from exc
return result, thought
return result, thought, output