Disable thinking for Gemma 4

Try adding “include_thoughts”: false to your config. For example:

{
“contents”: [
{
“role”: “user”,
“parts”: [
{
“text”: “Who are you?”
}
]
}
],
“generationConfig”: {
“maxOutputTokens”: 4048,
“include_thoughts”: false
}
}