Why the 1st approach does not work in Integrating Copilotkit with Mastra?

reference: https://mastra.ai/en/docs/frameworks/agentic-uis/copilotkit All dependencies are latest - from Mastra - from Copilotkit 1st approach issue/s: ( see attachments ) - It seems our deployed Instance breaks with these updates
Using with CopilotKit
Learn how Mastra leverages the CopilotKit's AGUI library and how you can leverage it to build user experiences
No description
8 Replies
Chaosumaru
ChaosumaruOP2mo ago
Now in 2nd approach: 2nd Approach issue/s: ( see attachments ) - setup own Mastra Server, so I created route for pointing it to our existing Mastra Server ( latest release ) - when I request to the agent: "Set the theme to orange", it just stuck...and then if I exit the process by "ctrl+C" that is where it renders.
No description
No description
Chaosumaru
ChaosumaruOP2mo ago
This is still in the 2nd approach: but doing force exit the NextJs APP - doing "ctrl+C"
No description
No description
Chaosumaru
ChaosumaruOP2mo ago
I am just using the sample from the docs
Chaosumaru
ChaosumaruOP2mo ago
so after existing heres the log it seems, this frontend action issue is from copilotkit
No description
Chaosumaru
ChaosumaruOP2mo ago
just check the 1st approach, there are Errors received from Mastra Server about "getNetworkds"
_roamin_
_roamin_2mo ago
Hi, @Chaosumaru ! Can you make sure your @mastra/core package is in the 0.16.x range? The integration with copilotkit is being worked on and is not compatible with @mastra/core 0.17 @CopilotKit I opened a PR in the ag-ui repo to temporarily "fix" that issue https://github.com/ag-ui-protocol/ag-ui/pull/390/files
Chaosumaru
ChaosumaruOP2mo ago
i see, yeah sure. thank you for the response

Did you find this page helpful?