Streaming is now enabled by default for all Vercel Functions using the Python runtime, completing the rollout plan announced last year. Python functions can now send data to the client as it’s generated, rather than waiting for the entire response—particularly beneficial for use cases like AI applications and real-time updates.
The VERCEL_FORCE_PYTHON_STREAMING
environment variable is no longer necessary, as streaming is now applied automatically in your new deployments.
With streaming responses, the runtime log format and frequency have been updated.
For more details, visit our documentation or get started with our template.