From 5698301fc9c06cbdb180ec7883787ad92fdb5d0b Mon Sep 17 00:00:00 2001 From: lorenzejay Date: Sat, 14 Mar 2026 11:55:55 -0700 Subject: [PATCH] fix linter --- lib/crewai/src/crewai/experimental/agent_executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/crewai/src/crewai/experimental/agent_executor.py b/lib/crewai/src/crewai/experimental/agent_executor.py index 86fa71712..8596f135f 100644 --- a/lib/crewai/src/crewai/experimental/agent_executor.py +++ b/lib/crewai/src/crewai/experimental/agent_executor.py @@ -1129,7 +1129,7 @@ class AgentExecutor(Flow[AgentExecutorState], CrewAgentExecutorMixin): # asyncio.gather preserves input order, so zip gives us the exact # todo ↔ result (or exception) mapping. step_results: list[tuple[TodoItem, object]] = [] - for todo, item in zip(ready, gathered): + for todo, item in zip(ready, gathered, strict=True): if isinstance(item, Exception): error_msg = f"Error: {item!s}" todo.result = error_msg