Replies: 3 comments 1 reply
-
Welcome @kartikm7! 👋 Could you share a runnable example of what you're seeing, ideally in a sandbox? I see a number of modifications in your code like tailwind and most custom elements which could be related. |
Beta Was this translation helpful? Give feedback.
-
Hey @ChristianMurphy thank you so much for the prompt reply! So val.content is the value that comes from the llm here's a log of what it does: I am using custom components in react markdown just for links and codeblocks(although the problem I face is here).
Also thought I'd share my devDependencies: Could it be the vite version? Thanks in advance man, thank you for giving your time to my query! |
Beta Was this translation helpful? Give feedback.
-
Just found a solution!
this got it working for me!
|
Beta Was this translation helpful? Give feedback.
-
Hey guys I have been working on an Vite + Electron project, and trying to implement code block support in the chat section and I picked up the code from the docs and the String(children) returns object Object and I don't know what to do... Can some one help me out?
I suspect it could be something with my dev environment, but I am not too sure.
Also, just extra context I am working on an llm opensource chat project so the response comes from the llm in the markdown format...
Text on frontend
The image of the console.log of the value
![image](https://private-user-images.githubusercontent.com/108652656/340023712-96e82920-6cc1-4900-86f3-821a62835d73.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyMzgwMjMsIm5iZiI6MTczOTIzNzcyMywicGF0aCI6Ii8xMDg2NTI2NTYvMzQwMDIzNzEyLTk2ZTgyOTIwLTZjYzEtNDkwMC04NmYzLTgyMWE2MjgzNWQ3My5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQwMTM1MjNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xNTQyN2U0MjUwZjQ4MWZiZDczNmZlZGZmZGFkZGE2YjJhODAyMDg3NTQzODkyNWE0MjEwYTgwN2I1NTJmZjVjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.FBHFgU4-jGeTZvtz11ROmiiGcOlm9fvsSE6_aHmz3qw)
Actual code implementation
Beta Was this translation helpful? Give feedback.
All reactions