feat(webui): support custom background images (#6674)

This commit is contained in:
chengyongru authored and GitHub committed 2026-11-16 22:08:55 +08:00
1 parent 92d23d2d2b
commit e91906bc3a
29 files changed
+1259 -3

No files matched your search

+3 -2
View File
@@ -78,6 +78,7 @@ import { BrowserNotifications, useBrowserNotificationLifecycle } from "@/compone
import { ThreadMessageCache } from "@/lib/thread-message-cache";
import { FilePreviewStore } from "@/hooks/useFilePreviewState";
import { ClientProvider, useClient } from "@/providers/ClientProvider";
import { BackgroundProvider } from "@/providers/BackgroundProvider";
import { useVersionCheck } from "@/providers/VersionCheckProvider";
import { useUpdateFlow } from "@/providers/UpdateFlowProvider";
import type {
@@ -808,12 +809,12 @@ export default function App() {
allowUpdateFlow={state.runtimeSurface !== "native"}
>
<BrowserNotifications client={state.client} />
<RemoteInstances><Shell
<BackgroundProvider><RemoteInstances><Shell
runtimeSurface={state.runtimeSurface}
onModelNameChange={handleModelNameChange}
onLogout={handleLogout}
onNativeEngineRestart={handleNativeEngineRestart}
/></RemoteInstances>
/></RemoteInstances></BackgroundProvider>
</ClientProvider>
);
}