Skip to content
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

Latest react-markdown package does not work for primitives #939

Closed
thedaiga opened this issue Oct 1, 2024 · 2 comments
Closed

Latest react-markdown package does not work for primitives #939

thedaiga opened this issue Oct 1, 2024 · 2 comments

Comments

@thedaiga
Copy link

thedaiga commented Oct 1, 2024

I ran into an issue where the following didn't work with version 0.2.18. I downgraded to 0.2.13 and it worked.

import { makeMarkdownText } from "@assistant-ui/react-markdown";

const MarkdownText = makeMarkdownText();

<AssistantMessage.Content components={{ Text: MarkdownText }} />

@Yonom
Copy link
Owner

Yonom commented Oct 2, 2024

hey, what version of @assistant-ui/react do you have installed? make sure you are using the latest version (0.5.70)

What error are you getting?

@thedaiga
Copy link
Author

thedaiga commented Oct 3, 2024

There was no error. The text was just not rendering. But I upgraded and it worked. Thanks!

@Yonom Yonom closed this as completed Oct 3, 2024
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

No branches or pull requests

2 participants