on main help sign in
chore: use american spelling for 'canceled' in all user-facing copy
573c9a0Christian Rocha
cmd/root.go+2−2
@@ -237,11 +237,11 @@ func setupSubscriber[T any](
237 case <-time.After(2 * time.Second):
237 case <-time.After(2 * time.Second):
238 slog.Warn("message dropped due to slow consumer", "name", name)
238 slog.Warn("message dropped due to slow consumer", "name", name)
239 case <-ctx.Done():
239 case <-ctx.Done():
240− slog.Info("subscription cancelled", "name", name)
240+ slog.Info("subscription canceled", "name", name)
241 return
241 return
242 }
242 }
243 case <-ctx.Done():
243 case <-ctx.Done():
244− slog.Info("subscription cancelled", "name", name)
244+ slog.Info("subscription canceled", "name", name)
245 return
245 return
246 }
246 }
247 }
247 }
internal/llm/agent/agent.go+1−1
@@ -26,7 +26,7 @@ import (
26
26
27// Common errors
27// Common errors
28var (
28var (
29− ErrRequestCancelled = errors.New("request cancelled by user")
29+ ErrRequestCancelled = errors.New("request canceled by user")
30 ErrSessionBusy = errors.New("session is currently processing another request")
30 ErrSessionBusy = errors.New("session is currently processing another request")
31)
31)
32
32