@@ -297,7 +297,7 @@ func (m *toolCallCmp) SetSize(width int, height int) tea.Cmd {
// shouldSpin determines whether the tool call should show a loading animation.
// Returns true if the tool call is not finished or if the result doesn't match the call ID.
func (m *toolCallCmp) shouldSpin() bool {
- return !m.call.Finished
+ return !m.call.Finished && !m.cancelled
}
// Spinning returns whether the tool call is currently showing a loading animation