v2.16.1
Release Notes
v2.16.1
Bug Fixes
- Improved validation in the
ChatMessage.from_userclass method. The method now raises an error if neithertextnorcontent_partsare provided. It does not raise an error iftextis an empty string.
ChatMessage.from_user class method. The method now raises an error if neither text nor content_parts are provided. It does not raise an error if text is an empty string.