OptionalauthAuthentication configuration. (-- Mutual exclusivity is enforced by the oneof on the wire. --)
Bearer token forwarded in the Authorization header. Supply the value
in api_key.plaintext.
Header-based API-key auth: the secret is forwarded on outbound requests
under a caller-chosen HTTP header rather than as an Authorization
bearer token. Set this instead of api_key for header auth.
OptionalbaseEndpoint URL of the OpenAI-compatible service (e.g.,
https://api.example.com/v1). Required on Create.
Direct form of a custom provider configuration. Set
api_keyto send the secret as anAuthorizationbearer token, orheader_authto forward it under a caller-chosen HTTP header.