on main help sign in
chore: use american spelling for 'canceled' in all user-facing copy
commit573c9a064806ecc4b5686708a6a1d34217870f11 authorChristian Rocha <christian@rocha.is> dateThu 10 Jul 2025, 13:00 (1 year ago) parent0134f81
2 files changed+3−3
cmd/root.go+2−2 internal/llm/agent/agent.go+1−1
cmd/root.go+2−2
@@ -237,11 +237,11 @@ func setupSubscriber[T any](
237237 case <-time.After(2 * time.Second):
238238 slog.Warn("message dropped due to slow consumer", "name", name)
239239 case <-ctx.Done():
240− slog.Info("subscription cancelled", "name", name)
240+ slog.Info("subscription canceled", "name", name)
241241 return
242242 }
243243 case <-ctx.Done():
244− slog.Info("subscription cancelled", "name", name)
244+ slog.Info("subscription canceled", "name", name)
245245 return
246246 }
247247 }
internal/llm/agent/agent.go+1−1
@@ -26,7 +26,7 @@ import (
2626
2727// Common errors
2828var (
29− ErrRequestCancelled = errors.New("request cancelled by user")
29+ ErrRequestCancelled = errors.New("request canceled by user")
3030 ErrSessionBusy = errors.New("session is currently processing another request")
3131)
3232