From f89a9d809ebb10225f351582b916f9ba2578a0ed Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Fri, 20 Feb 2026 14:09:17 -0300 Subject: [PATCH] fix: proper validate io.net api keys (#2272) They changed the `/models` endpoint so it actually validates the API key header if given. --- internal/config/config.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index 626fbe327491eb28d41e2972c3cb221b1deeb0c6..753151509315545dfbed9bd74c1455785313c8aa 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -799,11 +799,6 @@ func (c *ProviderConfig) TestConnection(resolver VariableResolver) error { return fmt.Errorf("invalid API key format for provider %s", c.ID) } return nil - case catwalk.InferenceProviderIoNet: - if !strings.HasPrefix(apiKey, "io-") { - return fmt.Errorf("invalid API key format for provider %s", c.ID) - } - return nil } switch c.Type {