Skip to content

Commit

Permalink
fix: restart should reset compose_descriptor_bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
maffettone committed Apr 11, 2024
1 parent c341859 commit 559abc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pdf_agents/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ def close_and_restart(self, *, clear_tell_cache=False, retell_all=False, reason=
"""
self.stop(reason=f"Close and Restart: {reason}")
self.kafka_consumer.closed = False
self._compose_descriptor_bundles = dict()
if clear_tell_cache:
self.tell_cache = list()
elif retell_all:
Expand Down

0 comments on commit 559abc4

Please sign in to comment.