Skip to content

Commit 47436a7

Browse files
Patel230claude
andcommitted
test(config): update setup-gateway guardrail for deepseek (15→16)
AllSetupGateways now returns 16 entries (deepseek was added as a setup gateway). TestAllSetupGateways_RegistryOnly still asserted 15 and omitted deepseek from its expected set, so it failed. Bump the count and add deepseek to the asserted gateways. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 5aa29d3 commit 47436a7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

internal/config/catalog_gateways_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ import (
1111

1212
func TestAllSetupGateways_RegistryOnly(t *testing.T) {
1313
gws := AllSetupGateways()
14-
if len(gws) != 15 {
15-
t.Fatalf("expected 15 setup gateways, got %d: %v", len(gws), gws)
14+
if len(gws) != 16 {
15+
t.Fatalf("expected 16 setup gateways, got %d: %v", len(gws), gws)
1616
}
1717
for _, id := range gws {
1818
if id == "ai21" || id == "alibaba" {
1919
t.Fatalf("owner slug %q should not be a gateway", id)
2020
}
2121
}
22-
want := map[string]bool{"azure": true, "bedrock": true, "gemini": true, "grok": true, "openrouter": true, "kimi": true, "vertex": true, "xiaomi_mimo_payg": true, "xiaomi_mimo_token_plan": true}
22+
want := map[string]bool{"azure": true, "bedrock": true, "gemini": true, "grok": true, "openrouter": true, "kimi": true, "vertex": true, "xiaomi_mimo_payg": true, "xiaomi_mimo_token_plan": true, "deepseek": true}
2323
for id := range want {
2424
found := false
2525
for _, gw := range gws {

0 commit comments

Comments
 (0)