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

Function TestSlashModelSwitchDropsStickyFallbackState

internal/tui/tui_test.go:791–808  ·  view source on GitHub ↗

TestSlashModelSwitchDropsStickyFallbackState: llm.Client's noReasoningEffort flag ("this server 400'd on tools+reasoning_effort, stop sending it") is correct for one Client but wrong across a profile switch to a different endpoint. rebuildClient swaps in a fresh Client; this asserts the pointer chan

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

newTestModelFunction · 0.85
SaveMethod · 0.80
runSlashMethod · 0.80

Tested by

no test coverage detected