Function: chatToResponsesRequest()
chatToResponsesRequest(
body):object
Raise a chat-completions request into a Responses request body. Inverse of
responsesToChat: used when a chat client hits a Responses-only
Databricks model (e.g. Codex) so the proxy can POST to
/serving-endpoints/responses without the client knowing.
Parameters
Section titled “Parameters”Record<string, unknown>
Returns
Section titled “Returns”object
responses
Section titled “responses”responses:
Record<string,unknown>
stream
Section titled “stream”stream:
boolean