Skip to content

Commit

Permalink
fixes issue trying to write turn number on final update (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkrabach authored Oct 24, 2024
1 parent 038b02b commit ec08f22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ async def final_update(self):
self.logger.info(f"Artifact field {tool_args['field']} successfully updated.")
# Set turn numbers
for message in plugin_output.messages:
message.metadata.turn_number = self.resource.turn_number
message.metadata["turn_number"] = self.resource.turn_number
self.conversation.add_messages(plugin_output.messages)
else:
self.logger.error(f"Final artifact field update of {tool_args['field']} failed.")
Expand Down

0 comments on commit ec08f22

Please sign in to comment.