Description
Description
Failed to convert text into JSON, error: litellm.BadRequestError: VertexAIException BadRequestError - {
"error": {
"code": 400,
"message": "Invalid JSON payload received. Unknown name "additionalProperties" at 'tools[0].function_declarations[0].parameters.properties[0].value': Cannot find field.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"field": "tools[0].function_declarations[0].parameters.properties[0].value",
"description": "Invalid JSON payload received. Unknown name "additionalProperties" at 'tools[0].function_declarations[0].parameters.properties[0].value': Cannot find field."
}
]
}
]
}
}
. Using raw output instead.
Steps to Reproduce
if your JSON output is nested
then this error get produced
Expected behavior
there is not the any "additionalProperties" key
Screenshots/Code snippets
NA
Operating System
Ubuntu 20.04
Python Version
3.10
crewAI Version
0.105.0
crewAI Tools Version
0.38.0
Virtual Environment
Conda
Evidence

Possible Solution
its been resolved in latest litellm version but crewai doesn't support the latest version
Additional context
NA