Hi pgAdmin developers, Dave assigned me #10688. The preferences endpoint already returns the right status when the provider changes. In a local desktop-mode test, saving None → Ollama → None returned disabled → enabled → disabled without restarting pgAdmin. The stale value is on the client.
The proposed change refreshes the status when the cached default provider changes. It updates the report menus and the flag a newly opened Query Tool reads, and discards a late response from an earlier save. It leaves an already-open editor’s layout alone. The issue and regression details are here: https://github.com/pgadmin-org/pgadmin4/issues/10688 Shubham
