Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
sReinwald
1y ago
0 comments
Share
You can also set
OLLAMA_CONTEXT_LENGTH=<tokens>
as an environment variable to change ollama's default context length.
0 comments
default
newest
oldest
Tepix
1y ago
I think that will not work if you use the OpenAI compatible API endpoint.
svachalek
1y ago
I tried this with ollama run, and it had no effect at all.
underlines
1y ago
that env parameter is brand new, did you update ollama?
j
/
k
navigate · click thread line to collapse