Copilot implements the Provider interface for GitHub Copilot. Unlike other providers, Copilot uses per-user API keys that are passed through the request headers rather than configured statically.
| 47 | // Unlike other providers, Copilot uses per-user API keys that are passed through |
| 48 | // the request headers rather than configured statically. |
| 49 | type Copilot struct { |
| 50 | cfg config.Copilot |
| 51 | circuitBreaker *config.CircuitBreaker |
| 52 | } |
| 53 | |
| 54 | var _ Provider = &Copilot{} |
| 55 |
nothing calls this directly
no outgoing calls
no test coverage detected