mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-05 06:59:23 +00:00
docs: improve documentation and test assertions as per PR review
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -14,7 +14,12 @@ class DelegateWorkToolSchema(BaseModel):
|
||||
|
||||
|
||||
class DelegateWorkTool(BaseAgentTool):
|
||||
"""Tool for delegating work to coworkers"""
|
||||
"""Tool for delegating work to other agents in the crew.
|
||||
|
||||
Attributes:
|
||||
result_as_answer (bool): When True, returns the delegated agent's result
|
||||
as the final answer instead of metadata about delegation.
|
||||
"""
|
||||
|
||||
name: str = "Delegate work to coworker"
|
||||
args_schema: type[BaseModel] = DelegateWorkToolSchema
|
||||
|
||||
Reference in New Issue
Block a user