diff --git a/internal/ui/chat/tools.go b/internal/ui/chat/tools.go index b643ef2805708ade2fbc209bb6b1b9a29ade97e4..5d6987c604aac42090659dd35d3da77d9bfe9a2e 100644 --- a/internal/ui/chat/tools.go +++ b/internal/ui/chat/tools.go @@ -44,7 +44,7 @@ type ToolRenderOpts struct { // Status returns the current status of the tool call. func (opts *ToolRenderOpts) Status() ToolStatus { - if opts.Canceled { + if opts.Canceled && opts.Result == nil { return ToolStatusCanceled } if opts.Result != nil {