Clear provider update actions while updating (#4676)

This commit is contained in:
Julius Marminge authored and GitHub committed 2026-07-27 20:07:23 +00:00
1 parent eea3ea4c6f
commit 6afbed3c36
1 file changed
+4
@@ -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