openai.internal._headers

(internal) content-type, then the caller's headers (lowercased), then authorization — credentials are the client's own business and always win.

Reference version

Signature

function openai.internal._headers(
preview: bool = …
) -> map<string, string> throws baml.errors.Io | baml.errors.ParseError | ai.errors.InvalidRequest

(internal) content-type, then the caller's headers (lowercased), then authorization — credentials are the client's own business and always win.

Source:<builtin>/openai/ns_internal/responses.bamlbytes 2572726204