()
| 501 | if e.Observer != nil && call.ID != "" { |
| 502 | if err := e.Observer.ToolFinished(ctx, call, result, isError, finalState); err != nil { |
| 503 | e.cancelAll() |
| 504 | } |
| 505 | } |
| 506 | e.maybeDrain() |
| 507 | e.signalActivity() |
| 508 | }() |
| 509 | |
| 510 | e.mu.Lock() |
| 511 | slot := e.slots[tcID] |
no outgoing calls
no test coverage detected