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

Function runTurn

internal/tui/tui_test.go:1186–1196  ·  view source on GitHub ↗

runTurn wires a model against handler, submits `text`, drains the command chain, and returns the Model. token, when non-empty, is installed on both the active profile and the live llm.Client so cloud auth headers travel as in production.

(t *testing.T, handler http.HandlerFunc, token, text string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 4

newTestModelFunction · 0.85
drainFunction · 0.85
ActiveProfileMethod · 0.80
submitMethod · 0.80

Tested by

no test coverage detected