added ollama context length explicitly

This commit is contained in:
2025-11-07 21:40:33 +01:00
parent ddfde55edf
commit 941c51884d

View File

@@ -5,6 +5,9 @@
enable = true; enable = true;
package = pkgs-unstable.ollama; package = pkgs-unstable.ollama;
acceleration = "cuda"; acceleration = "cuda";
environmentVariables = {
OLLAMA_CONTEXT_LENGTH="32000";
};
}; };
systemd.services.ollama.serviceConfig = { systemd.services.ollama.serviceConfig = {