User model selections are not staying persisted in browser
Description
User model selections are not staying persisted in browser. When a user selects a model in the UI, this setting gets saved to the agentic-chat-user-selected-model key in localStorage and should remain persisted so that the selection is maintained across tabs and is remembered for future use.
This is currently not the case. While the key is correctly being generated when a model selection is made, the key is being wiped by page refreshes, which shouldn't be happening. The key is also not present in new tabs, but it should be.
Screen_Recording_2025-11-26_at_2.48.16_pm
Slack context: https://gitlab.slack.com/archives/C06D5C70MD2/p1764100296907999
Definition of done:
- User model selections stay persisted between page refreshes, when opening new tabs and upon browser relaunch.
Edited by 🤖 GitLab Bot 🤖