Comments (3)
from ai.
If you're deploying to Vercel, there's the 300s execution time limit of Node.js functions. You can consider switching to the Edge runtime which doesn't have a limit: https://vercel.com/docs/functions/streaming#edge-runtime:~:text=You%20must%20begin%20sending%20a%20response%20within%2025%20seconds.%20After%20the%20initial%20response%20begins%2C%20you%20can%20continuously%20stream%20the%20response%20with%20no%20time%20limit.
Related docs: https://vercel.com/docs/functions/configuring-functions/runtime#edge.
from ai.
Hi @shuding, thanks for anwsering we can stream response with the experimental_useAssistant ?
from ai.
Related Issues (20)
- Docs have multiple failing 404 links
- 404 page infinite redirect
- Extend ai/rsc render function to handle additional parameters
- Support for validation libraries other than zod (or no validation) HOT 1
- Following the steps in https://sdk.vercel.ai/docs/concepts/ai-rsc results in multiple build errors HOT 1
- Azure OpenAI streaming is slow and chunky HOT 26
- `dev` script infinititely recompiles HOT 3
- ai/rsc: Deploy with Vercel button broken HOT 7
- Parameters are returned as string when `tools` is used HOT 2
- experimental_AssistantResponse link in docs is unreachable HOT 4
- Supporting Deepgram AI Integrations
- Function calling support for Anthropic models HOT 4
- useChat setMessages Assertion
- New model GigAI
- hugging-face provider document not accessed HOT 2
- 404 Error for Hugging Face Provider Documentation URL HOT 1
- Unable to cancel or abort streaming UI server actions HOT 1
- AnthropicStream - example copy/paste errors HOT 9
- ai/rsc createStreamableUI().update replaces the whole UI node instead of the last appended node
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.