From f3e72a0dc2ba800ef96afbcda6390c92cf18e035 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 27 Jun 2025 17:44:58 +0000 Subject: [PATCH] Fix upgrade success message styling Change upgrade completion message from ShowWarning to ShowSuccess to display with green checkmark instead of red X when CLI is upgraded. Fixes the confusing error-style message that appeared when the upgrade actually succeeded. Co-Authored-By: Rick Blalock --- cmd/root.go | 2 +- internal/bundler/groq.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 64d26efc..40fe2b3a 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -217,7 +217,7 @@ func checkForUpgrade(ctx context.Context, logger logger.Logger, force bool) { logger.Error("Failed to check for latest release: %s", err) } if ok && force { - tui.ShowWarning("Agentuity CLI was upgraded. Please re-run the command again to continue.") + tui.ShowSuccess("Agentuity CLI was upgraded. Please re-run the command again to continue.") os.Exit(1) // force an exit after upgrade if executed } } diff --git a/internal/bundler/groq.go b/internal/bundler/groq.go index b3358c61..8217a8cc 100644 --- a/internal/bundler/groq.go +++ b/internal/bundler/groq.go @@ -8,4 +8,4 @@ func init() { Before: generateEnvGuard("GROQ_API_KEY", generateGatewayEnvGuard("GROQ_API_KEY", "process.env.AGENTUITY_SDK_KEY", "GROQ_BASE_URL", "groq")), }, } -} \ No newline at end of file +}