MCPcopy Create free account
hub / github.com/diillson/chatcli / TestCoderBaseSystemPrompt

Function TestCoderBaseSystemPrompt

cli/prompts_gateway_test.go:13–20  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

11)
12
13func TestCoderBaseSystemPrompt(t *testing.T) {
14 if got := coderBaseSystemPrompt(false); got != CoderSystemPrompt {
15 t.Error("non-gateway must use CoderSystemPrompt")
16 }
17 if got := coderBaseSystemPrompt(true); got != GatewaySystemPrompt {
18 t.Error("gateway must use GatewaySystemPrompt")
19 }
20}
21
22func TestGatewaySystemPrompt_Content(t *testing.T) {
23 if GatewaySystemPrompt == "" || GatewaySystemPrompt == CoderSystemPrompt {

Callers

nothing calls this directly

Calls 2

coderBaseSystemPromptFunction · 0.85
ErrorMethod · 0.65

Tested by

no test coverage detected