Mixin
Mixin classes for LM invokers.
StreamingBufferMixin
Mixin class that provides streaming buffer state management functionality.
This mixin provides methods to manage streaming buffers for different content types and handles transitions between buffer states. It is designed to be used by LM invokers that process streaming responses from language model APIs.