openai.internal._chat_media_part
(internal) One media prompt part -> one typed content part. Media is allowed in any role: the chat endpoint imposes no role restriction (the engine imposes none either; sys_llm's hard error was stricter than the API).
Reference version
Signature
function openai.internal._chat_media_part(
) -> openai.internal.ChatContentPart throws baml.errors.InvalidArgument | baml.errors.Io | baml.errors.Timeout | ai.errors.InvalidRequest | ai.errors.NetworkFailure | ai.errors.PreviewUnsupported
(internal) One media prompt part -> one typed content part. Media is allowed in any role: the chat endpoint imposes no role restriction (the engine imposes none either; sys_llm's hard error was stricter than the API).
Source:<builtin>/openai/ns_internal/chat.bamlbytes 18779–23200