google.internal._gm_apply_headers
(internal) Apply the caller's `headers` option over the provider defaults. Header names are lower-cased, matching what the HTTP layer does on the wire. Auth headers are set AFTER this, so a user header can never displace credentials.
Reference version
Signature
function google.internal._gm_apply_headers(
headers: map<string, string>,
extra: map<string, string> | null
) -> map<string, string>
(internal) Apply the caller's headers option over the provider defaults. Header names
are lower-cased, matching what the HTTP layer does on the wire. Auth headers
are set AFTER this, so a user header can never displace credentials.
Source:<builtin>/google/ns_internal/gemini.bamlbytes 11000–11351