(t *testing.T)
| 11 | ) |
| 12 | |
| 13 | func 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 | |
| 22 | func TestGatewaySystemPrompt_Content(t *testing.T) { |
| 23 | if GatewaySystemPrompt == "" || GatewaySystemPrompt == CoderSystemPrompt { |
nothing calls this directly
no test coverage detected