You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User opens a Decent App in a browser tab and it loads an LLM.
User opens a Decent App in a second browser tab.
The second tab attempts to load an LLM and probably fails due to lack of resources.
What we want to happen instead:
User opens a Decent App in a browser tab and it loads an LLM.
User opens a Decent App in a second browser tab.
The second tab doesn't try to load the LLM. Instead the ModelDeviceProblemsDialog is shown.
The ModelDeviceProblemsDialog should show a non-blocking problem like "Another browser tab has already loaded an LLM. You should close the other tab if you want to continue."
Implementation hints:
In decent-portal, create a new "src/messaging" folder and a file "crossTabUtil.ts". Write some code in there for sending messages between tabs, probably using PostMessage().
predictModelDeviceProblems() in "models/modelUtil.ts" should detect and return the problem described above.
Activity
erikh2000 commentedon Aug 31, 2025
BTW, later, we can do something better, and allow one tab to provide inference for multiple tabs, maybe using the messaging code for this feature.