Update src/crewai/agent.py

Co-authored-by: Gui Vieira <guilherme_vieira@me.com>
This commit is contained in:
João Moura
2024-07-04 16:35:21 -03:00
committed by GitHub
parent 01f31d7830
commit 45ccea65d1

View File

@@ -194,7 +194,7 @@ class Agent(BaseAgent):
self._rpm_controller.stop_rpm_counter()
# If there was any tool in self.tools_results that had result_as_answer
# set to True, return the restuls of the last tool that had
# set to True, return the results of the last tool that had
# result_as_answer set to True
for tool_result in self.tools_results:
if tool_result.get("result_as_answer", False):