Skip to content

Conversation

@roaminro
Copy link
Contributor

The current @ag-ui/mastra implementation is not compatible with @mastra/core >= 0.17.0 (mastra.getNetworks() has been removed).

@tylerslaton
Copy link
Contributor

tylerslaton commented Sep 18, 2025

Hey @roaminro I think I actually just solved this in #384 - could you give that a look and let me know?.

Just realized I did that locally but didn't push, but is it just as simple as using the getNextWorkflows method?

Removed unused networkAGUI construction and related code.
Removed unused getNetwork method and its import.
@roaminro
Copy link
Contributor Author

Hey @tylerslaton ! I just checked with the team, and the whole network related code can actually be removed for now as there's a new implementation that's being worked on (and that's actually part of the Agent primitive now).
You can ignore this PR if you want, and just remove the network related code in the PR you mentioned above.
Let me know ;)

@tylerslaton
Copy link
Contributor

Gotcha - thanks @roaminro :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants