Error with Gemini Models: Missing Required `contents` Field
It seems like trying to call gemini models returns an error:
I used a sneaky overriden http client with a
Notably,
I used a sneaky overriden http client with a
.mapRequestEffect to log requests as they go out and see that it sendsNotably,
contents is empty. The documentation for the gemini API statescontents[] object (Content)
Required. The content of the current conversation with the model.
For single-turn queries, this is a single instance. For multi-turn queries like chat, this is a repeated field that contains the conversation history and the latest request.
