WARNING Could not run function analyze(next_action=final_answer, result=Ready to build the JSON response.,
confidence=1, analysis=...)
ERROR 1 validation error for ReasoningTools.analyze
title
Missing required argument [type=missing_argument, input_value=ArgsKwargs((), {'agent': ...ct the JSON
response.'}), input_type=ArgsKwargs]
For further information visit https://errors.pydantic.dev/2.10/v/missing_argument
Traceback (most recent call last):
File "/Users/muhammadgulfamtahir/Desktop/GitHub
Projects/.conda/lib/python3.11/site-packages/agno/tools/function.py", line 554, in execute
result = self.function.entrypoint(**arguments)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/muhammadgulfamtahir/Desktop/GitHub
Projects/.conda/lib/python3.11/site-packages/pydantic/_internal/_validate_call.py", line 38, in
wrapper_function
return wrapper(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/muhammadgulfamtahir/Desktop/GitHub
Projects/.conda/lib/python3.11/site-packages/pydantic/_internal/_validate_call.py", line 111, in
__call__
res = self.__pydantic_validator__.validate_python(pydantic_core.ArgsKwargs(args, kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 1 validation error for ReasoningTools.analyze
title
Missing required argument [type=missing_argument, input_value=ArgsKwargs((), {'agent': ...ct the JSON
response.'}), input_type=ArgsKwargs]
For further information visit https://errors.pydantic.dev/2.10/v/missing_argument
I am trying to run my agent with the model Gemini = gemini-2.0-flash-exp , just to get the output , sometimes it is showing me this error and sometimes it is not , I have upgrade the reasoning library as well. But the error is still there.
Any lead how to solve this ?
Thanks