A bug in Ollama's rendering of Gemma4 models causes tool parameters named 'type' or 'description' to be silently dropped. This leads to the model inventing values for these parameters, as it does not receive their definitions in the prompt. The issue stems from a Go port of a Jinja template that incorrectly filters schema keywords. This can result in validation errors or incorrect data being stored if not caught by a schema validator. AI
IMPACT This bug can lead to incorrect data being processed by applications using Ollama and Gemma4, potentially causing downstream errors or requiring manual correction.
RANK_REASON Bug report in an open-source tool for running LLMs.
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →