MCPcopy Create free account
hub / github.com/github/copilot-sdk / TestSession_SetModelOmitsContextTierWhenUnset

Function TestSession_SetModelOmitsContextTierWhenUnset

go/session_test.go:55–61  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

53}
54
55func TestSession_SetModelOmitsContextTierWhenUnset(t *testing.T) {
56 params := captureSetModelRequest(t, nil)
57
58 if _, ok := params["contextTier"]; ok {
59 t.Fatalf("expected contextTier to be omitted, got %v", params["contextTier"])
60 }
61}
62
63func TestSession_MCPAuthRequestSendsHostToken(t *testing.T) {
64 stdinR, stdinW := io.Pipe()

Callers

nothing calls this directly

Calls 1

captureSetModelRequestFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…