on main help sign in
fix: breaks
615c8d2Carlos Alexandro Becker
internal/llm/agent/agent.go+1
@@ -249,6 +249,7 @@ func (a *agent) IsBusy() bool {
249 for cancelFunc := range a.activeRequests.Seq() {
249 for cancelFunc := range a.activeRequests.Seq() {
250 if cancelFunc != nil {
250 if cancelFunc != nil {
251 busy = true
251 busy = true
252+ break
252 }
253 }
253 }
254 }
254 return busy
255 return busy
internal/tui/components/chat/sidebar/sidebar.go+1
@@ -201,6 +201,7 @@ func (m *sidebarCmp) handleFileHistoryEvent(event pubsub.Event[history.File]) te
201 existing.Deletions = deletions
201 existing.Deletions = deletions
202 m.files.Set(file.Path, existing)
202 m.files.Set(file.Path, existing)
203 found = true
203 found = true
204+ break
204 }
205 }
205 if found {
206 if found {
206 return nil
207 return nil