mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-30 23:02:50 +00:00
matching
This commit is contained in:
@@ -629,7 +629,7 @@ class Agent(BaseAgent):
|
|||||||
ValueError: If the max execution time is not a positive integer.
|
ValueError: If the max execution time is not a positive integer.
|
||||||
RuntimeError: If the agent execution fails for other reasons.
|
RuntimeError: If the agent execution fails for other reasons.
|
||||||
"""
|
"""
|
||||||
if not isinstance(self.executor_class, AgentExecutor):
|
if self.executor_class is not AgentExecutor:
|
||||||
handle_reasoning(
|
handle_reasoning(
|
||||||
self, task
|
self, task
|
||||||
) # we need this till CrewAgentExecutor migrates to AgentExecutor
|
) # we need this till CrewAgentExecutor migrates to AgentExecutor
|
||||||
|
|||||||
Reference in New Issue
Block a user