fix: breaks
commit615c8d222f92812eb464ad1d9b0fa5f1c3a7a084
authorCarlos Alexandro Becker <caarlos0@users.noreply.github.com>
dateFri 25 Jul 2025, 11:40 (1 year ago)
parentb92d880
internal/llm/agent/agent.go+1
@@ -249,6 +249,7 @@ func (a *agent) IsBusy() bool {
249249 for cancelFunc := range a.activeRequests.Seq() {
250250 if cancelFunc != nil {
251251 busy = true
252+ break
252253 }
253254 }
254255 return busy
internal/tui/components/chat/sidebar/sidebar.go+1
@@ -201,6 +201,7 @@ func (m *sidebarCmp) handleFileHistoryEvent(event pubsub.Event[history.File]) te
201201 existing.Deletions = deletions
202202 m.files.Set(file.Path, existing)
203203 found = true
204+ break
204205 }
205206 if found {
206207 return nil