openai.internal._chat_is_opaque_key
(internal) Keys whose value is a document AUTHORED BY THE CALLER rather than a wire field this file owns. Inside them a `null` is data, not an unset option: * `parameters` — a tool's JSON Schema, where `{"default": null}` and `{"type": ["string", "null"]}` sibling nulls are meaningful, and where a strict-schema server validates what it was given.
Reference version
Signature
function openai.internal._chat_is_opaque_key(key: string) -> bool
(internal) Keys whose value is a document AUTHORED BY THE CALLER rather than a wire
field this file owns. Inside them a null is data, not an unset option:
parameters— a tool's JSON Schema, where{"default": null}and{"type": ["string", "null"]}sibling nulls are meaningful, and where a strict-schema server validates what it was given.
The request_body passthrough needs no entry here: it is merged AFTER the
prune (chat_render_body), so it is never walked.
Source:<builtin>/openai/ns_internal/chat.bamlbytes 33520–33816