| 14 | /// provider metadata) can share the same type. |
| 15 | #[derive(Debug, Clone, PartialEq, Eq)] |
| 16 | pub enum AuthHeader { |
| 17 | /// `Authorization: Bearer <key>` |
| 18 | Bearer, |
| 19 | /// Custom header name (e.g. `x-api-key` for Anthropic). |
| 20 | Custom(&'static str), |
| 21 | /// Do not inject any auth header on outgoing requests. The upstream |
| 22 | /// is expected to authenticate itself — used when the configured |
| 23 | /// `default_base_url` (or operator-supplied base-URL override) points |
| 24 | /// at a translating bridge / proxy that holds operator-side |
| 25 | /// credentials in its own pod and ignores caller-supplied auth. |
| 26 | /// Currently used by the `aws-bedrock` profile, where `SigV4` signing |
| 27 | /// is deferred to a follow-up PR; today the only supported shape is |
| 28 | /// a bridge-fronted upstream. |
| 29 | None, |
| 30 | } |
| 31 | |
| 32 | // --------------------------------------------------------------------------- |
| 33 | // Inference provider profiles |
nothing calls this directly
no outgoing calls
no test coverage detected