We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
litellm.llms.vertex_ai_and_google_ai_studio.common_utils.VertexAIError: { "error": { "code": 400, "message": "Invalid JSON payload received. Unknown name \"additionalProperties\" at 'tools[0].function_declarations[0].parameters': Cannot find field.", "status": "INVALID_ARGUMENT", "details": [ { "@type": "type.googleapis.com/google.rpc.BadRequest", "fieldViolations": [ { "field": "tools[0].function_declarations[0].parameters", "description": "Invalid JSON payload received. Unknown name \"additionalProperties\" at 'tools[0].function_declarations[0].parameters': Cannot find field." } ] } ] } }
The config file for my setup is:
{ "graph_store": { "provider": "neo4j", "config" : { "url": "url", "username": "uname", "password": "passwd" }, "llm": { "provider": "litellm", "config": { "model": "gemini/gemini-1.5", "temperature": 0.2, "max_tokens": 1500, } } }, "embedder": { "provider": "ollama", "config": { "model": "mxbai-embed-large", "embedding_dims": 1536 } }, "llm": { "provider": "litellm", "config": { "model": "gemini/gemini-1.5-flash", "temperature": 0.2, "max_tokens": 1500, } }, "vector_store": { "provider": "qdrant", "config": { "embedding_model_dims": 1024 } }, "version": "v1.1" }
additionalProperties
tools[0].function_declarations[0].parameters
'tools': [{'function_declarations': [{'name': 'search', 'description': 'Search for nodes and relations in the graph.', 'parameters': {'type': 'object', 'properties': {'nodes': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of nodes to search for.'}, 'relations': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of relations to search for.'}}, 'required': ['nodes', 'relations'], 'additionalProperties': False}}]}]
"langchain-community>=0.2.15", "langchain-google-genai>=1.0.10", "langchain-google-vertexai>=1.0.10", "litellm>=1.44.14", "mem0ai>=0.1.10", "ollama>=0.3.2", "rank-bm25>=0.2.2",
The text was updated successfully, but these errors were encountered:
I faced same issue , raised in #1942 cc : @prateekchhikara @Dev-Khant
Sorry, something went wrong.
No branches or pull requests
🐛 Describe the bug
The config file for my setup is:
additionalProperties
is present intools[0].function_declarations[0].parameters
Dependencies:
"langchain-community>=0.2.15",
"langchain-google-genai>=1.0.10",
"langchain-google-vertexai>=1.0.10",
"litellm>=1.44.14",
"mem0ai>=0.1.10",
"ollama>=0.3.2",
"rank-bm25>=0.2.2",
The text was updated successfully, but these errors were encountered: