Increase Ollama context for agents

This commit is contained in:
ltadeu6 2026-05-09 20:18:45 -03:00
parent 3adcfa3044
commit 73ba12308a
No known key found for this signature in database
GPG key ID: FB9FDAB6B6F3418D
2 changed files with 2 additions and 2 deletions

View file

@ -389,7 +389,7 @@ in {
host = "[::]";
environmentVariables = {
# Agent CLIs send large prompts with tool schemas; 8k truncates tool-use instructions.
OLLAMA_CONTEXT_LENGTH = "32768";
OLLAMA_CONTEXT_LENGTH = "64000";
};
loadModels = [
"gemma4:e4b"