openai.internal._oai_images_headers
(internal) Provider defaults, then the user's `headers` (lowercased, as the HTTP layer stores them), then auth for a live request. A preview leaves user-supplied auth intact without resolving or exposing the configured credential.
Reference version
Signature
function openai.internal._oai_images_headers(
preview: bool = …
) -> map<string, string> throws baml.errors.Io | baml.errors.ParseError | ai.errors.InvalidRequest
(internal) Provider defaults, then the user's headers (lowercased, as the HTTP layer
stores them), then auth for a live request. A preview leaves user-supplied
auth intact without resolving or exposing the configured credential.
Source:<builtin>/openai/ns_internal/images.bamlbytes 8855–9338