Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

Clear provider update actions while updating (#4676)

Julius Marminge6afbed3c36bb
diff --git a/apps/web/src/components/ProviderUpdatePrimaryNotification.tsx b/apps/web/src/components/ProviderUpdatePrimaryNotification.tsx
index a7f7a2c1e..64399679a 100644
--- a/apps/web/src/components/ProviderUpdatePrimaryNotification.tsx
+++ b/apps/web/src/components/ProviderUpdatePrimaryNotification.tsx
@@ -68,6 +68,10 @@ function updateProviderUpdateToast(input: {
title: input.view.title,
description: input.view.description,
timeout: 0,
+ // Base UI merges toast updates with the existing toast. Explicitly clear
+ // the prompt action so its guarded Update handler cannot linger as a
+ // visible no-op while the update is running (or after it succeeds).
+ actionProps: undefined,
data: {
hideCopyButton: true,
...(input.view.dismissAfterVisibleMs !== undefined