diff --git a/changelog/4272.added.md b/changelog/4272.added.md new file mode 100644 index 000000000..4323bfb2b --- /dev/null +++ b/changelog/4272.added.md @@ -0,0 +1 @@ +- Added `elide_large_values` parameter to `LLMContext.get_messages()`. When `True`, returns compact deep copies of messages with binary data (base64 images, audio) fully elided and long string values in LLM-specific messages recursively truncated. Useful for serialization, logging, and debugging tools.