This commit is contained in:
Timothy Jaeryang Baek
2026-04-07 14:30:05 -06:00
parent c40ea7f29d
commit 8e82f0d239
+5
View File
@@ -158,6 +158,7 @@
if (version !== null) {
WEBUI_VERSION.set(version);
window.WEBUI_VERSION = version;
}
console.log('version', version);
@@ -709,6 +710,10 @@
await goto(event.data.path);
return;
}
if (event.type === 'query' && event.data?.query) {
await goto(`/?q=${encodeURIComponent(event.data.query)}`);
return;
}
if (event.type === 'models:refresh') {
const token = localStorage.token;
if (token) {