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

Function TestSystemMessageForMode_copilotCliPassthrough

go/toolset_test.go:214–221  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

212}
213
214func TestSystemMessageForMode_copilotCliPassthrough(t *testing.T) {
215 c := NewClient(&ClientOptions{Mode: ModeCopilotCli})
216 in := &SystemMessageConfig{Mode: "append", Content: "x"}
217 got := c.systemMessageForMode(in)
218 if got != in {
219 t.Errorf("non-empty mode must not alter system message")
220 }
221}
222
223func TestApplyConfigDefaultsForMode_emptyDefaultsTelemetryFalse(t *testing.T) {
224 c := NewClient(&ClientOptions{Mode: ModeEmpty, BaseDirectory: t.TempDir()})

Callers

nothing calls this directly

Calls 2

systemMessageForModeMethod · 0.95
NewClientFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…