From 573c9a064806ecc4b5686708a6a1d34217870f11 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Thu, 10 Jul 2025 13:00:03 -0400 Subject: [PATCH] chore: use american spelling for 'canceled' in all user-facing copy --- cmd/root.go | 4 ++-- internal/llm/agent/agent.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 20c92f19357ed3350a36633c9b1be7bd91cd7ce0..8c407ace937510a192245033d2fff2b1f242641a 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -237,11 +237,11 @@ func setupSubscriber[T any]( case <-time.After(2 * time.Second): slog.Warn("message dropped due to slow consumer", "name", name) case <-ctx.Done(): - slog.Info("subscription cancelled", "name", name) + slog.Info("subscription canceled", "name", name) return } case <-ctx.Done(): - slog.Info("subscription cancelled", "name", name) + slog.Info("subscription canceled", "name", name) return } } diff --git a/internal/llm/agent/agent.go b/internal/llm/agent/agent.go index 6d9a825f600e79d3161c6b653669abe8773db116..313b83c0448d8a668e2390368c6797c82dd22452 100644 --- a/internal/llm/agent/agent.go +++ b/internal/llm/agent/agent.go @@ -26,7 +26,7 @@ import ( // Common errors var ( - ErrRequestCancelled = errors.New("request cancelled by user") + ErrRequestCancelled = errors.New("request canceled by user") ErrSessionBusy = errors.New("session is currently processing another request") )