Skip to content

How do I convert to copilotkit's message format? #12343

@daneatmastra

Description

@daneatmastra

This issue was created from Discord post 1465481017023533106:

Open in Discord

When implementing using CopilotKit and mastra's integration, how does CopilotKit display messages stored in mastra's memory?
For example, with the ai-sdk, you would pass converted messages in toAISDKFormat to the initialMessages option. CopilotKit also has an initialMessages option - is there a mastra utility available that can convert messages to this format?

Metadata

Metadata

Assignees

No one assigned

    Labels

    AGUI / CopilotKitIssues using Mastra + AGUI from CopilotKitAI SDKIssues with Mastra + AI-SDK toolkit and providersGeneral InquiryMemoryIssues with Mastra's Memory primitivediscordFor issues created from Discord discussions.effort:mediumimpact:mediumtrio-wp

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions