on main help sign in
fix: proper validate io.net api keys (#2272)

They changed the `/models` endpoint so it actually validates the API key header if given.

commitf89a9d809ebb10225f351582b916f9ba2578a0ed authorAndrey Nering <andreynering@users.noreply.github.com> dateFri 20 Feb 2026, 14:09 (8 months ago) parenta189a3d
1 file changed−5
internal/config/config.go−5
internal/config/config.go−5
@@ -799,11 +799,6 @@ func (c *ProviderConfig) TestConnection(resolver VariableResolver) error {
799799 return fmt.Errorf("invalid API key format for provider %s", c.ID)
800800 }
801801 return nil
802− case catwalk.InferenceProviderIoNet:
803− if !strings.HasPrefix(apiKey, "io-") {
804− return fmt.Errorf("invalid API key format for provider %s", c.ID)
805− }
806− return nil
807802 }
808803
809804 switch c.Type {