From 679bfce647cee63d40e204dd9754d065d025fd1d Mon Sep 17 00:00:00 2001 From: Eduardo Chiarotti Date: Thu, 13 Feb 2025 20:36:07 -0300 Subject: [PATCH] feat: add start_time as reference for duplication of tool call --- src/crewai/llm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/crewai/llm.py b/src/crewai/llm.py index 093fb08d2..9cf868824 100644 --- a/src/crewai/llm.py +++ b/src/crewai/llm.py @@ -607,6 +607,8 @@ class LLM: == str(history_result["tool_args"]) and str(clean_result["result"]) == str(history_result["result"]) and clean_result["content"] == history_result.get("content", "") + and clean_result["start_time"] + == history_result.get("start_time", "") ): is_duplicate = True break