vercel-labs / gemini-chatbot

Build your own generative UI chatbot using the Vercel AI SDK and Google Gemini
https://gemini.vercel.ai
Other
798 stars 291 forks source link

Improve error message #9

Closed shuding closed 7 months ago

shuding commented 7 months ago

Adds a basic error boundary, and ensures that streamable values are set with .error() with proper messages when the action fails.

Recommended to review this PR with whitespace ignored.

vercel[bot] commented 7 months ago

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

Name Status Preview Comments Updated (UTC)
gemini-chatbot ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2024 6:56pm