Function: MastraAssistant()
MastraAssistant<
TValues>(__namedParameters):Element
Persistent chat shell. Keep this above the route outlet so page navigation replaces application content without remounting the chat driver.
Type Parameters
Section titled “Type Parameters”TValues
Section titled “TValues”TValues extends Record<string, unknown> = Record<string, unknown>
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”MastraAssistantProps<TValues>
Returns
Section titled “Returns”Element