From 7f425f1d11fef11607c9abbf2469f9bdbe8bf546 Mon Sep 17 00:00:00 2001 From: Hoshina Date: Sat, 28 Feb 2026 13:00:21 +0800 Subject: [PATCH] fix(agent): correct misspelling of 'canceled' --- pkg/agent/loop.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/agent/loop.go b/pkg/agent/loop.go index ba0254076..6d581465e 100644 --- a/pkg/agent/loop.go +++ b/pkg/agent/loop.go @@ -587,7 +587,7 @@ func (al *AgentLoop) handleReasoning(ctx context.Context, reasoningContent, chan Content: reasoningContent, }); err != nil { // Treat context.DeadlineExceeded / context.Canceled as expected - // (bus full under load, or parent cancelled). Check the error + // (bus full under load, or parent canceled). Check the error // itself rather than ctx.Err(), because pubCtx may time out // (5 s) while the parent ctx is still active. if errors.Is(err, context.DeadlineExceeded) || errors.Is(err, context.Canceled) {