#Why Adapter is needed !! IMPORTANT

1 messages · Page 1 of 1 (latest)

stiff oasis
#

Could some one please explain why adapter is needed.?
In my nextjs app i directly pass runetimeurl as mastra url to copilotkit component and didnt created any intermediate api on nextjs it still works. Why empty adapter will be needed? @fiery lily @sinful yew

#

Why Adapter is needed !! IMPORTANT

fiery lily
#

Hi @stiff oasis did you embed the runtime in Mastra?

#

Otherwise we will need some code to look at this 🙂

stiff oasis
#

yes i embed runtime in mastra.

fiery lily
#

In that case you don't need an adapter, is something telling you otherwise?

stiff oasis
#

Okay so either in mastra or in nextjs somewhere adapter is needed?

fiery lily
#

That's correct, I think Mastra has documentation about this.