You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works fine with OpenAI gpt-4o-2024-11-20, but does not work with Google gemini/gemini-1.5-flash:
litellm.exceptions.BadRequestError: litellm.BadRequestError: VertexAIException BadRequestError - {
"error": {
"code": 400,
"message": "* GenerateContentRequest.tools[0].function_declarations[0].parameters.properties: should be non-empty for OBJECT type\n",
"status": "INVALID_ARGUMENT"
}
}
So Gemini does not yet support empty tool parameters.
Unfortunately, PaperQA's gen_answer and reset tools have empty parameters. Thus, gemini/gemini-1.5-flash can't be used for tool selections (our agent LLM).
The text was updated successfully, but these errors were encountered:
Running the below code on Jan 8th 2025 with Python 3.12 and
litellm==1.53.3
:It works fine with OpenAI
gpt-4o-2024-11-20
, but does not work with Googlegemini/gemini-1.5-flash
:So Gemini does not yet support empty tool
parameters
.Unfortunately, PaperQA's
gen_answer
andreset
tools have empty parameters. Thus,gemini/gemini-1.5-flash
can't be used for tool selections (our agent LLM).The text was updated successfully, but these errors were encountered: