package setup import ( "testing" "github.com/samcharles93/archie-core/internal/infrastructure/egress" ) // TestEveryOfferedProviderResolvesAsAModelEndpoint guards the drift that left // OpenRouter selectable while nothing could build its endpoint: setup wrote a // class with no base URL, so egress refused the provider and no model session // existed for it. func TestEveryOfferedProviderResolvesAsAModelEndpoint(t *testing.T) { for _, cp := range cloudProviders { if _, _, err := egress.ProviderEndpoint(cp.class, cp.baseURL); err != nil { t.Errorf("%s (class %q, base URL %q) has no endpoint: %v", cp.name, cp.class, cp.baseURL, err) } } }