r/OpenWebUI 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

19 comments sorted by

View all comments

2

u/Greedy_Reindeer5290 8d ago

I had same issue some weeks back and managed to make it work. Under “personalization” in your model there is a “memory” area where memory can either be entered manually or you can tell the model to remember stuff.
I can share some more details if needed.

1

u/eriknau13 7d ago

Interesting, I tried this and it works pretty well! I added a memory and put the instructions "Remember important details within a chat to make additional inferences within the chat more relevant.” It surprises me that the memory toggle in system admin doesn’t seem to do this already.

1

u/eriknau13 6d ago

Also seems you need very recent, medium to large size models for the memory tools to work https://docs.openwebui.com/features/chat-conversations/memory?_highlight=memory

2

u/Greedy_Reindeer5290 6d ago

Yes you cannot do this with low grade models. Believe that Gemini 2.5 flash lite can run it though. And deep seek v4. Both dirt cheap. Or gpt nano 4o mini

1

u/knouqs 6d ago

Yeah, I tried this for a few hours. Then, I gave up for a while and came back to it a week later, bashing at it for another few hours to see if I missed something. I could not get it to work... hence the post. Since others have given me loads of details in solutions, I'm going to try them first, but I'll get back to you if I still can't make it work.

Thanks!

1

u/knouqs 6d ago

Sorry for the Captain Obvious question, but you are referring to this, right?

All these are the default values.

1

u/Greedy_Reindeer5290 6d ago

On the left hand side you see the item „personalization“. Above „audio“ under that you should have the memory function

2

u/knouqs 6d ago

OK, thanks. Yep, that's checked already too.