MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / DrainProgress

Method DrainProgress

agent/tools_executor.go:243–253  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

241}
242
243func (e *StreamingToolExecutor) hasRunningWork() bool {
244 e.mu.Lock()
245 defer e.mu.Unlock()
246 for _, slot := range e.slots {
247 if slot.State == ToolStateExecuting {
248 return true
249 }
250 }
251 return false
252}
253
254func (e *StreamingToolExecutor) HasRunningWork() bool {
255 return e.hasRunningWork()
256}

Callers 1

executeAndCommitToolsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected