Re:Running Google Gemma 4 Locally with LM Studio's New Headl...
by gcampos on Sunday April 05, 2026 @08:43PM
(#47655569)
You need to increase the context window size or the tool calling feature wont work
[ Parent
| on HN ]
Re:Running Google Gemma 4 Locally with LM Studio's New Headl...
by mil22 on Sunday April 05, 2026 @09:44PM
(#47655994)
For those wondering how to do this:
OLLAMA_CONTEXT_LENGTH=64000 ollama serve
or if you're using the app, open the Ollama app's Settings dialog and adjust there.Codex also works:
ollama launch codex --model gemma4:26b