openai.internal.lower_prompt

Role-less content uses the ordinary user role; `tool` is not a valid free-standing Responses message role, so authored tool context is user content (actual tool outputs come from the journal path below).

Reference version

Signature

function openai.internal.lower_prompt(
prompt: ai.Prompt,
preview: bool = …
) -> openai.internal.OaInputItem[] throws baml.errors.InvalidArgument | baml.errors.Io | baml.errors.Timeout | ai.errors.Failure

Role-less content uses the ordinary user role; tool is not a valid free-standing Responses message role, so authored tool context is user content (actual tool outputs come from the journal path below).

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