mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-03 00:02:36 +00:00
fix: set result_as_answer=True in DelegateWorkTool to fix incomplete final answers in hierarchical process mode (#2768)
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -18,6 +18,7 @@ class DelegateWorkTool(BaseAgentTool):
|
||||
|
||||
name: str = "Delegate work to coworker"
|
||||
args_schema: type[BaseModel] = DelegateWorkToolSchema
|
||||
result_as_answer: bool = True
|
||||
|
||||
def _run(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user