Truncate Presentation • AI Agent SDK
truncate_presentation: Truncate a presentation to fit channel limits.
truncate_presentation
Method
</div>
This is a method of the SupportsPresentation class in the protocols module.
Truncate a presentation to fit channel limits.
Signature
def truncate_presentation(presentation: 'MessagePresentation') -> 'MessagePresentation'Parameters
ParamField
MessagePresentationThe presentation to truncate
Returns
ResponseField
'MessagePresentation'Truncated presentation that fits channel limits
Source
View on GitHubpraisonaiagents/bots/protocols.py at line 1388