MCPcopy Create free account
hub / github.com/coder/aibridge / InjectAuthHeader

Method InjectAuthHeader

provider/provider.go:79–79  ·  view source on GitHub ↗

InjectAuthHeader allows [Provider]s to set its authentication header.

(*http.Header)

Source from the content-addressed store, hash-verified

77 AuthHeader() string
78 // InjectAuthHeader allows [Provider]s to set its authentication header.
79 InjectAuthHeader(*http.Header)
80
81 // CircuitBreakerConfig returns the circuit breaker configuration for the provider.
82 CircuitBreakerConfig() *config.CircuitBreaker

Callers 1

newPassthroughRouterFunction · 0.65

Implementers 4

MockProviderinternal/testutil/mockprovider.go
Anthropicprovider/anthropic.go
Copilotprovider/copilot.go
OpenAIprovider/openai.go

Calls

no outgoing calls

Tested by

no test coverage detected