While using phi.agent.Toolkit and tested local the function worked properly. It is also working when configured to an agent as Toolkit. But following error is thrown when the agent further made in part of the team of another Agent..
WARNING Could not run function
transfer_task_to_ticket_matching_agent(expected_output=list of
relevant tickets, task_description=…)
ERROR 1 validation error for
Agent.get_transfer_function.._transfer_task_to_agent
additional_information
Missing required argument [type=missing_argument,
input_value=ArgsKwargs((), {‘expected…n the AWS CloudWatch.’}),
input_type=ArgsKwargs]
For further information visit
Redirecting...
Traceback (most recent call last):
File
“C:\Users\amuthan.k\Scripts\PyEnv_AI_180325\Lib\site-packages\phi\tool
s\function.py”, line 368, in execute
self.result = self.function.entrypoint(**entrypoint_args,
**self.arguments)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^
File
“C:\Users\amuthan.k\Scripts\PyEnv_AI_180325\Lib\site-packages\pydantic
_internal_validate_call.py”, line 38, in wrapper_function
return wrapper(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File
“C:\Users\amuthan.k\Scripts\PyEnv_AI_180325\Lib\site-packages\pydantic
_internal_validate_call.py”, line 111, in call
res =
self.pydantic_validator.validate_python(pydantic_core.ArgsKwargs(a
rgs, kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 1 validation error for
Agent.get_transfer_function.._transfer_task_to_agent
additional_information
Missing required argument [type=missing_argument,
input_value=ArgsKwargs((), {‘expected…n the AWS CloudWatch.’}),
input_type=ArgsKwargs]
For further information visit
Redirecting...