Y
Hacker News
new
|
ask
|
show
|
jobs
by
sReinwald
473 days ago
You can also set
OLLAMA_CONTEXT_LENGTH=<tokens>
as an environment variable to change ollama's default context length.
2 comments
Tepix
472 days ago
I think that will not work if you use the OpenAI compatible API endpoint.
link
svachalek
472 days ago
I tried this with ollama run, and it had no effect at all.
link
underlines
472 days ago
that env parameter is brand new, did you update ollama?
link