MCPcopy Index your code
hub / github.com/coder/coder / KeyFailoverConfig

Method KeyFailoverConfig

aibridge/provider/copilot.go:114–116  ·  view source on GitHub ↗

KeyFailoverConfig returns a config with a nil Pool, which makes the KeyFailoverTransport short-circuit. Copilot is always BYOK.

(_ slog.Logger)

Source from the content-addressed store, hash-verified

112// KeyFailoverConfig returns a config with a nil Pool, which makes
113// the KeyFailoverTransport short-circuit. Copilot is always BYOK.
114func (*Copilot) KeyFailoverConfig(_ slog.Logger) keypool.KeyFailoverConfig {
115 return keypool.KeyFailoverConfig{}
116}
117
118func (p *Copilot) CircuitBreakerConfig() *config.CircuitBreaker {
119 return p.circuitBreaker

Callers 1

Calls

no outgoing calls

Tested by 1