Ollama's gemma4 renderer has a bug where it silently drops tool parameters named 'type' or 'description'. This causes the model to either invent a value for the parameter or omit it entirely, depending on the model size. The issue stems from a Go port of a Jinja template that incorrectly filters schema keywords. Renaming the parameter resolves the problem, but a fix is pending. AI
IMPACT This bug can lead to incorrect or missing data in tool calls made by Gemma4 models within Ollama, potentially causing application errors.
RANK_REASON Bug report in a specific tool's rendering process.
Read on Mastodon — sigmoid.social →
AI-generated summary · Google Gemini · from 2 sources. How we write summaries →