refactor: remove context parameter from task delegation (type mismatch) and add debug print statement

This commit is contained in:
Vardaan Grover
2025-01-24 16:22:46 +05:30
parent 0918b6fd1f
commit e2e2a969e4
2 changed files with 2 additions and 6 deletions

View File

@@ -78,7 +78,6 @@ class BaseAgentTool(BaseTool):
description=task,
agent=target_agent,
expected_output=target_agent.i18n.slice("manager_request"),
context=context,
i18n=target_agent.i18n,
)
@@ -91,6 +90,7 @@ class BaseAgentTool(BaseTool):
target_agent.tools or [],
)
print("DEBUG CONTEXT: ", context)
result = target_agent.execute_task(new_task, context, tools)
print("\n=== Delegation Complete ===")