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") )