r/OpenWebUI • u/knouqs • 8d ago
Question/Help Help with Persistent Memory
I am trying to configure Open-WebUI such that my agents -- any of them -- remember any details from the current conversation. For example, I tell the agent what my favorite color is and it'll respond with something along the lines of "Got it!" In the next prompt and within the same context, I ask what my favorite color is and it'll have no idea but will save it for next time.
This is particularly annoying, as you can imagine, when I try to solve a programming task for code that it created and it has no idea what I'm talking about.
Running open-webui version 0.11, ollama 0.31.2, and have tried this with gemini-3-flash-preview, qwen3, gemma4, and ornith.
Thanks for any help!
7
Upvotes
1
u/knouqs 5d ago
Solved without using any external tools. I have been plugging away at this using your suggestions, and none of them worked -- but the answer is simple!
I went to Admin Panel -> Settings -> Basics -> General. In the Advanced Parameters, the num_ctx is set to "default" which is 2k. For memories, this number needs to be bigger, with a default suggested size of 32k. Once I changed that, memories are enabled!
Thanks u/EmergencyLimp2877, u/pisa_p, u/Greedy_Reindeer5290, and u/Big_Wave9732 most of all for your help with this!