Format standard data content block to format expected by OpenAI.
"Standard data content block" can include old-style LangChain v0 blocks (URLContentBlock, Base64ContentBlock, IDContentBlock) or new ones.
convert_to_openai_data_block(
block: dict,
api: Literal['chat/completions', 'responses'] = 'chat/completions'
) -> dict