diff --git a/internal/config/config.go b/internal/config/config.go index 340002968924538e543d2489a11a0c6232f897d6..51cb00573e52129d5ac880c9713b4db6a6461c2a 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -593,6 +593,12 @@ func (c *ProviderConfig) TestConnection(resolver VariableResolver) error { return nil } return errors.New("not a valid bedrock api key") + case catwalk.TypeVercel: + // NOTE: Vercel does not validate API keys on the `/models` endpoint. + if strings.HasPrefix(apiKey, "vck_") { // Vercel API keys + return nil + } + return errors.New("not a valid vercel api key") } ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second)