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

Method finishResult

agent/tools_executor.go:491–501  ·  view source on GitHub ↗
(tcID, content, truncated string, isError bool)

Source from the content-addressed store, hash-verified

489 }
490 e.mu.Unlock()
491 e.cancelAll()
492 }
493}
494
495func (e *StreamingToolExecutor) executionContextForSlot(abort <-chan struct{}) coretools.ExecutionContext {
496 execCtx := coretools.ExecutionContext{}
497 for k, v := range e.Context {
498 execCtx[k] = v
499 }
500 execCtx["abort_event"] = abort
501 return execCtx
502}
503
504func (e *StreamingToolExecutor) preserveAbortResult(tcID string) bool {

Callers 2

executeOneMethod · 0.95
finishCancelledMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected