Add output to return statement in
get_result_and_steps function
This commit is contained in:
parent
5bd379e714
commit
0a38f2d271
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue