From dbb14573d4661d989fe8132a85fa618db8443d7e Mon Sep 17 00:00:00 2001 From: Andrew <15331990+ahuang11@users.noreply.github.com> Date: Wed, 30 Oct 2024 08:09:11 -0700 Subject: [PATCH] do not break on AnalysisAgent (#739) --- lumen/ai/assistant.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/lumen/ai/assistant.py b/lumen/ai/assistant.py index eba2c8bc8..338c16c74 100644 --- a/lumen/ai/assistant.py +++ b/lumen/ai/assistant.py @@ -129,9 +129,6 @@ def download_notebook(): agent.__doc__ = f"Available analyses include:\n{analyses}\nSelect this agent to perform one of these analyses." agent.interface = interface self._analyses.extend(agent.analyses) - instantiated.append(agent) - break - if agent.llm is None: agent.llm = llm # must use the same interface or else nothing shows