diff --git a/envconfig/config.go b/envconfig/config.go index a94dfc54c..fc702198f 100644 --- a/envconfig/config.go +++ b/envconfig/config.go @@ -169,7 +169,7 @@ var ( // Enable the new Ollama engine NewEngine = Bool("OLLAMA_NEW_ENGINE") // ContextLength sets the default context length - ContextLength = Uint("OLLAMA_CONTEXT_LENGTH", 8<<10) + ContextLength = Uint("OLLAMA_CONTEXT_LENGTH", 2048) ) func String(s string) func() string {