diff --git a/fireflyframework_agentic/pipeline/state_pipeline.py b/fireflyframework_agentic/pipeline/state_pipeline.py index c31b8e21..57a1cc0b 100644 --- a/fireflyframework_agentic/pipeline/state_pipeline.py +++ b/fireflyframework_agentic/pipeline/state_pipeline.py @@ -649,6 +649,7 @@ async def invoke( success = result.success if result is not None else False await self._emit("on_pipeline_complete", self._name, run_id, success, duration_ms) + assert result is not None # set in try-block before reaching here return result async def _run_fanout(