fix(webui): reconcile threads after browser resume

This commit is contained in:
chengyongru authored and chengyongru committed 2026-07-28 16:25:08 +08:00
1 parent 78cf68c291
commit ae089aa3ae
39 files changed
+6151 -243

No files matched your search

+1
View File
@@ -185,6 +185,7 @@ export async function fetchWebuiThread(
const res = await fetchWithTimeout(url, {
headers: { Authorization: `Bearer ${token}` },
credentials: "same-origin",
cache: "no-store",
});
if (res.status === 404) return null;
if (!res.ok) throw new ApiError(res.status, `HTTP ${res.status}`);