@elizaos/core v1.0.6 / v1 / convertContentToV1
Function: convertContentToV1()
convertContentToV1(
content
):Content
Safely converts a V2 content object to a V1 Content type Maps known properties and preserves additional ones
Parameters​
• content: Content
V2 content object
Returns​
Content compatible with V1