nlkitai / nlux

The π—£π—Όπ˜„π—²π—Ώπ—³π˜‚π—Ή Conversational AI JavaScript Library πŸ’¬ β€”Β UI for any LLM, supporting LangChain / HuggingFace / Vercel AI, and more 🧑 React, Next.js, and plain JavaScript ⭐️
https://docs.nlkit.com/nlux
Other
937 stars 48 forks source link

fixed Error with Content-Security-Policy/Feature-Request #61 #64

Closed wija1024 closed 1 month ago

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
nlux-docs βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback May 24, 2024 10:54am
salmenus commented 1 month ago

Hi @wija1024

Thanks for raising the issue related to HTML sanitisers and raising this PR. The code change is a little bit more complex as it requires sanitising markdown being streaming, and markdown snapshots loaded from conversation history.

I made the code change as part of commits that can be found here: https://github.com/nluxai/nlux/commits/latest/?since=2024-05-24&until=2024-05-25

As part of that code change:

I'm closing this PR as the work has been done in a separate stream. Thank you for your contribution.