[BUG]: Workspace setting fields not showing current configuration
How are you running AnythingLLM?
Docker (remote machine)
What happened?
When updating a parameter (such as system prompt), then switching to another tab in the workspace settings to change a parameter, then switching back to the previous tab, the old parameter information in that tab is shown.
Also, when switching between work spaces having changed a parameter in the previous workspace (such as preset chat messages), the current work space sometimes incorrectly show the settings of the previous workspace.
Are there known steps to reproduce?
See above
It indeed does this when you don't save your changes using the update workspace button.
A bit clumsy UX-wise.
Then save the changes
@timothycarambat I think I noticed what @RahSwe meant by their report. (tested on latest docker image) When you change settings + save/update the workspace (!) and then navigate to other tabs of the settings and back to the tab you made changes in, the old settings are shown. When you close the settings and open them you see the newly saved settings, so they were successfully saved. Feels like a cache (invalidation) thingy / local variables not being updated from their initialised value.
Yes, that is what I tried to describe, sorry if I was being unclear.
Yes, that is what I tried to describe, sorry if I was being unclear.
Reading it back now, you pretty much described it literally. Maybe just me/us not following 🦆
Ah, okay that went totally over my head. Sorry about that