openai.internal._tool_output

(internal) A tool result's `output`: the plain string when the result is text only (one text part, or nothing), the part list otherwise.

Reference version

Signature

function openai.internal._tool_output(

(internal) A tool result's output: the plain string when the result is text only (one text part, or nothing), the part list otherwise.

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