MCPcopy Create free account
hub / github.com/codehamr/codehamr / dispatchNextTool

Method dispatchNextTool

internal/tui/model.go:1053–1061  ·  view source on GitHub ↗

dispatchNextTool pops the next pending tool call and runs it. Every tool flows through runToolCall; none are special-cased. lastToolKey records this call's target so the failure nudge can tell when the model keeps retrying the same failing operation (see recordToolOutcome).

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

updateMethod · 0.95
handleStreamClosedMethod · 0.95

Calls 4

appendLineMethod · 0.95
InlineStatusFunction · 0.92
toolTargetKeyFunction · 0.85
runToolCallFunction · 0.85

Tested by

no test coverage detected