Skip to content

Commit

Permalink
Add another missing aput
Browse files Browse the repository at this point in the history
  • Loading branch information
lpineau committed Dec 27, 2024
1 parent 3ab3e26 commit b29230e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ async def _acall_function(

event.on_end(payload={EventPayload.FUNCTION_OUTPUT: str(tool_output)})
sources.append(tool_output)
memory.put(function_message)
await memory.aput(function_message)

return (
tool.metadata.return_direct and not tool_output.is_error
Expand Down

0 comments on commit b29230e

Please sign in to comment.