Gemini BatchAPI Thinking Level Capabilities

I’m trying to set the thinking_level configuration to “medium” using the BatchAPI but can’t seem to configure it correctly. Using the client.models.generate_content I get it to work.

This is a screenshot of my code to generate the jsonl file