InjectAuthHeader is a no-op for Copilot. Copilot uses per-user tokens passed in the original Authorization header, rather than a global key configured at the provider level. The original Authorization header flows through untouched from the client.
(_ *http.Header)
| 114 | // rather than a global key configured at the provider level. |
| 115 | // The original Authorization header flows through untouched from the client. |
| 116 | func (*Copilot) InjectAuthHeader(_ *http.Header) {} |
| 117 | |
| 118 | func (p *Copilot) CircuitBreakerConfig() *config.CircuitBreaker { |
| 119 | return p.circuitBreaker |
no outgoing calls