Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos committed Nov 15, 2023
1 parent 30eaddd commit f1ee430
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def _create_agent_message(
if isinstance(output, AgentActionMessageLog):
output.message_log[-1].additional_kwargs["agent"] = output
messages = output.message_log
output.message_log = []
output.message_log = [] # avoid circular reference for json dumps
return messages
else:
return AIMessage(
Expand Down

0 comments on commit f1ee430

Please sign in to comment.