Comments (3)
Yep - This one gives the developer a little more work to do with the out of the box behavior.
Consider:
- Start a new chat
- Enter question
- System errors
- Wipes UI including users' question
The current workarounds rely on the developer maintaining a second shadow state of the AI state in order to provide better UX to their users.
In most cases, although the error message is most likely generic and related to the server itself, the user probably expects an error message in place of the streaming message coming in or appended to it with the option to reload or trigger a new message.
from ai.
Note: this came up internally as well.
from ai.
from ai.
Related Issues (20)
- Registry not accepting google provider HOT 2
- Error in implementing in nodejs HOT 6
- getMutableAIState(key [keyof AI Context]) update() and done() didn't change object reference
- useAssistant: option to ignore annotations in text deltas
- Bedrock: can't use AWS metadata service for authentication HOT 1
- Save chat to database on onSetAIState is not working correctly if connection_limit is set to high HOT 3
- vLLM Provider HOT 1
- Ending `textStream.done()` in `streamUI()` causes another render in component after version `>=3.2.6`
- Add Azure Extensions to the Azure provider
- Add support for edit history
- Create a tool to summarise results HOT 6
- AI_TypeValidationError: Optional type validation in generateObject function. HOT 13
- Model Registry non-standard parameters
- Cannot use zod tuple() in tool schema HOT 2
- Vercel AI SDK Incompatibility with Latest Perplexity API Updates HOT 2
- stop_sequences HOT 1
- json mode HOT 3
- experimental_useObject onFinish HOT 4
- Increased Token Limit Not Working with Claude 3.5 Sonnet HOT 4
- Let AI use multiple times tools before answering HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ai.