-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: shared @mastra/playground ui lib #1836
base: main
Are you sure you want to change the base?
feat: shared @mastra/playground ui lib #1836
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
5 Skipped Deployments
|
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@radix-ui/[email protected], npm/@radix-ui/[email protected], npm/@radix-ui/[email protected] |
📝 Documentation updates detected! You can review documentation updates here |
will take a look in the morning |
|
Playground UI
Bootstrap
@mastra/playground
with initial files and packages.There is an assistant-ui bug with the assistant-ui primitives.
\n\n
in the resulting output.docs
aren't really explicit as to whether to configure a syntax highlighter. Custom syntax highlighters added to thecomponents
object with syntax highlighting setup don't show up either.Docs on Markdown primitive
This means there is an issue with the
AssistantUI Primitive
or there is a part of the setup we aren't getting right.Steps to reproduce:
Build core, deployer and cli
Launch the mastra server for an example
server should be running on port
localhost:4111
Run the preview vite page in playground-ui
frontend should be running on port
localhost:5174
Test out the
json
by asking these two questions:First question should return below

Custom component
Inside of the
defaultComponent
object, replace thecode
element withMarkdownCodeBlock
frommarkdown
. Try out question again.from this:
to this: