mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
Update executor.py
This commit is contained in:
@@ -55,8 +55,9 @@ class CrewAgentExecutor(AgentExecutor):
|
|||||||
[tool.name for tool in self.tools], excluded_colors=["green", "red"]
|
[tool.name for tool in self.tools], excluded_colors=["green", "red"]
|
||||||
)
|
)
|
||||||
intermediate_steps: List[Tuple[AgentAction, str]] = []
|
intermediate_steps: List[Tuple[AgentAction, str]] = []
|
||||||
# Get info about human input from Task
|
# Allowing human input given task setting
|
||||||
self._human_input = self.task.human_input
|
if self.task.human_input:
|
||||||
|
self._human_input = True
|
||||||
# Let's start tracking the number of iterations and time elapsed
|
# Let's start tracking the number of iterations and time elapsed
|
||||||
self.iterations = 0
|
self.iterations = 0
|
||||||
time_elapsed = 0.0
|
time_elapsed = 0.0
|
||||||
|
|||||||
Reference in New Issue
Block a user