Same issure here. It seems that inside genai, inlinedRequest only permits a list of contents. According to the offical document, it should accept a list of GenerateContentRequest
.
I think it’s a bug. You can refer to the class definition of genai.types.InlinedRequest
.