diff --git a/apps/shinkai-desktop/src/pages/layout/main-layout.tsx b/apps/shinkai-desktop/src/pages/layout/main-layout.tsx index 90c7c0ba7..cee899f44 100644 --- a/apps/shinkai-desktop/src/pages/layout/main-layout.tsx +++ b/apps/shinkai-desktop/src/pages/layout/main-layout.tsx @@ -625,7 +625,7 @@ const MainLayout = () => { if (isSuccess && nodeInfo?.status === 'ok') { toast.dismiss('node-unavailable'); } - if (isSuccess && nodeInfo?.update_needs_reset) { + if (isSuccess && nodeInfo?.update_requires_reset) { setNeedsResetApp(true); } }, [isSuccess, nodeInfo?.status, isFetching]); diff --git a/libs/shinkai-message-ts/src/api/general/types.ts b/libs/shinkai-message-ts/src/api/general/types.ts index 2b661fc35..1178e34a5 100644 --- a/libs/shinkai-message-ts/src/api/general/types.ts +++ b/libs/shinkai-message-ts/src/api/general/types.ts @@ -5,7 +5,7 @@ export type CheckHealthResponse = { node_name: string; is_pristine: boolean; version: string; - update_needs_reset: boolean; + update_requires_reset: boolean; }; export type Token = { token: string };