gemini api - cannot support enum in function call
Error message: Failed to convert text into JSON, error: litellm.BadRequestError: VertexAIException BadRequestError - { "error": { "code": 400, "message": "* GenerateContentRequest.tools[0].function_declarations[0].parameters.properties[source_links].items.format: only 'enum' is supported for STRING type\n* GenerateContentRequest.tools[0].function_declarations[0].parameters.properties[faculty].items.properties[faculty_website].format: only 'enum' is supported for STRING type\n* GenerateContentRequest.tools[0].function_declarations[0].parameters.properties[faculty].items.properties[email].format: only 'enum' is supported for STRING type\n", "status": "INVALID_ARGUMENT" } }
@NurzihanReya Can you share the liteLLM debug logs?
Got by running litellm.set_verbose=True
It would help to know the raw request being made to liteLLM
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.