feat: add start_time as reference for duplication of tool call

This commit is contained in:
Eduardo Chiarotti
2025-02-13 20:36:07 -03:00
parent ba197ec8db
commit 679bfce647

View File

@@ -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