Ollama version 0.35.1 exhibits a subtle bug where it incorrectly selects the prompt template for Gemma 4 models. The software defaults to a 'small' template when a 'large' template is intended, particularly affecting models derived from the base Gemma 4 12B model or when the model name lacks explicit size indicators. This discrepancy can lead to a missing 'thought block' in the model's output when 'thinking' is disabled, though the impact on generated answers is minimal. Users can manually specify the correct 'large' template in their Modelfile to ensure accurate rendering. AI
IMPACT This bug fix in Ollama ensures correct prompt template application for Gemma 4 models, potentially improving output consistency for users.
RANK_REASON The item describes a bug fix or behavior change in a specific version of a software tool.
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →