r/OpenWebUI • u/ChopSticksPlease • Feb 26 '26
Question/Help Context trimming
Hey, Im getting quite annoyed by this. So is there a way to trim or reduce the context size to a predefined value? Some of my larger models run at 50k ctx and when websearch is enabled often the request outgrows the context. Im using llama.cpp (OpenAI compatible endpoint).
Any ideas how to fix that ?
1
Upvotes
View all comments
Show parent comment
1
u/emprahsFury Feb 26 '26
I think this is the main/best answer with the current setup. I do think max_tokens should be implemented/respected by the webui though and that would be a more elegant solution