From 559abc44f8ff8ecabb8fcda3fd4be3b039a3fbb5 Mon Sep 17 00:00:00 2001 From: maffettone Date: Thu, 11 Apr 2024 15:48:15 -0700 Subject: [PATCH] fix: restart should reset compose_descriptor_bundle --- pdf_agents/agents.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pdf_agents/agents.py b/pdf_agents/agents.py index 9019644..c112512 100644 --- a/pdf_agents/agents.py +++ b/pdf_agents/agents.py @@ -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: