From fa4bd6a581c2f5d01cc28da3a93d56a92ffcaff6 Mon Sep 17 00:00:00 2001 From: Andrew Huang Date: Wed, 30 Oct 2024 11:11:02 -0700 Subject: [PATCH] add missing return --- lumen/ai/agents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lumen/ai/agents.py b/lumen/ai/agents.py index f6e74bd8..6cbeab70 100644 --- a/lumen/ai/agents.py +++ b/lumen/ai/agents.py @@ -871,7 +871,7 @@ async def _system_prompt_with_context( system_prompt += f"\n### CONTEXT: {context}".strip() return system_prompt - async def respond(self, messages: list, title: str = "", render_output: bool = True, agents: list[Agent] | None = None): + async def respond(self, messages: list, title: str = "", render_output: bool = True, agents: list[Agent] | None = None) -> None: pipeline = memory['current_pipeline'] analyses = {a.name: a for a in self.analyses if await a.applies(pipeline)} if not analyses: