openai.internal.chat_render_body
The serialized body: typed request -> json -> drop unset options -> apply the caller's `request_body` passthrough LAST (PLAN P0.3 / `ai.wire`).
Reference version
Signature
function openai.internal.chat_render_body(
compat: openai.internal.ChatCompat,
params: openai.internal.ChatParams,
request: openai.internal.ChatRequest
) -> string throws baml.json.SerializationError
The serialized body: typed request -> json -> drop unset options -> apply the
caller's request_body passthrough LAST (PLAN P0.3 / ai.wire).
Source:<builtin>/openai/ns_internal/chat.bamlbytes 43598–43874