Max number of enums in response Schema for structured output

Hey! What is the max number of enum values that one could ask to Gemini Pro 1.5? Apparently, the max is around 120. It would be very useful if you increase this limit substantially. GPT models accept much more and I am forced to use their model for my use case.

I’m facing the same issue, I’m not sure if this is because of the amount of enum values or the schema size that it generates. I have 4 properties in my schema that are different enums, but I can’t use all of them at the same time otherwise a 500 status code returns.
Would be great if this limit gets increased.

I’ve been plagued by this issue for a month and am working with google cloud support but making very little progress on fixing, which is frustrating. You can see additional posts here (Re: Unexpected 400 errors with Generated Output Sc... - Google Cloud Community) and here (Unexpected InvalidArgument error for large response_schema). Lots of folks are having issues with this but google hasn’t done anything to resolve to date.