fixie-ai / ai-jsx

The AI Application Framework for Javascript
https://docs.ai-jsx.com
MIT License
1.03k stars 76 forks source link

Remove MDX repair machinery #497

Closed petersalas closed 8 months ago

petersalas commented 8 months ago

This removes the automatic attempt to repair MDX -- instead, it explicitly allows for invalid MDX to be emitted at the end of the stream (but not during intermediate states).

Additionally, explicitly mark the AssistantMessage with contentType: "text/mdx".

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ai-jsx-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 16, 2023 0:47am
ai-jsx-nextjs-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 16, 2023 0:47am
ai-jsx-tutorial-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 16, 2023 0:47am
ai-jsx-voice ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 16, 2023 0:47am