Register Anthropic access-review connector
Add the ANTHROPIC connector_provider enum value, its migration, and the GraphQL enum binding, then register the provider as an API-key connector that authenticates via x-api-key. The probe URL is left empty because the shared connection probe cannot send the required anthropic-version header and would misreport a valid key; a dead key surfaces on the first member fetch instead. Signed-off-by: Aurélien Sibiril <81782+aureliensibiril@users.noreply.github.com>
This commit is contained in:
@@ -50,6 +50,7 @@ const (
|
||||
ConnectorProviderVercel ConnectorProvider = "VERCEL"
|
||||
ConnectorProviderMonday ConnectorProvider = "MONDAY"
|
||||
ConnectorProviderTailscale ConnectorProvider = "TAILSCALE"
|
||||
ConnectorProviderAnthropic ConnectorProvider = "ANTHROPIC"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -87,6 +88,7 @@ func ConnectorProviders() []ConnectorProvider {
|
||||
ConnectorProviderVercel,
|
||||
ConnectorProviderMonday,
|
||||
ConnectorProviderTailscale,
|
||||
ConnectorProviderAnthropic,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,7 +121,8 @@ func (v ConnectorProvider) IsValid() bool {
|
||||
ConnectorProviderClickUp,
|
||||
ConnectorProviderVercel,
|
||||
ConnectorProviderMonday,
|
||||
ConnectorProviderTailscale:
|
||||
ConnectorProviderTailscale,
|
||||
ConnectorProviderAnthropic:
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user