()
| 241 | } |
| 242 | |
| 243 | func (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 | |
| 254 | func (e *StreamingToolExecutor) HasRunningWork() bool { |
| 255 | return e.hasRunningWork() |
| 256 | } |
no outgoing calls
no test coverage detected