# How to use Claude to fix Gemma model errors

Claude Code reproduced a llm-gemini command error, fixed the unsupported media resolution issue, and ran tests; the author reviewed and manually verified the change.

Agent: Claude (via Claude Code)
Tools: Claude Code, llm-gemini, uv, Git
Category: Software & DevOps
Date: 2025-12-17

Outcome: The author reported a fix in a commit adding 33 lines and removing 13, with tests run by Claude Code and manual verification recorded in the issue.

## Steps

1. Ask Claude Code to run the failing Gemma command.
2. Explain that Gemma models do not support media resolution.
3. Have Claude Code fix the issue and run tests.
4. Inspect git diff, then commit and push the change.
5. Rerun the command manually and post the result to the issue.

Human oversight: The author inspected git diff and independently reran the command, recording its result in the issue.

Source: [simonw on Hacker News](https://news.ycombinator.com/item?id=46305272)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-fix-gemma-model-errors/
