If a prompt is supplied, it already has the input and model references.
Before input and model being optional, when supplied a prompt it would still require these fields, which was why now they are optional.
It’s not like we don’t need to supply any parameters, but that is another challenge, perhaps we now need to find a better arrangement for improving the docs on what you pointed.
Agreed, @sashirestela, especially when the example shared by @aprendendo.next itself shows a model parameter being passes within the API call, making it ambiguous as to whether it’s a required field or not.
Does it have override behavior or ignoring behavior because the model is also supplied? One would have to create a single “prompt” and care to even answer for yourself. Would this then change after they figure out the policy and break any app? Or break after they push some other API change forgetting a complex interplay of validation rules?
Safest thing is to consider this originating from a “Google has a more appealing ‘playground’ with more encompassing presets, where’s ours?” edict - and completely ignore it exists for any other use.