pub fn add_embedding_truncation_warning(
response: &mut Value,
report: &EmbeddingTruncationReport,
)Expand description
Add the embedding-input advisory when the report records truncation.
An object response receives the existing one-element warnings array, replacing any previous warnings. Other response values and untruncated reports are unchanged.