AINewsnow

Streaming an LLM response in Next.js 15 without the UI feeling broken

This story is from 2026-10-05. It is preserved in the archive; the latest stories are on the live feed.

Streaming is table stakes for an AI app now. People expect the answer to appear word by word, not after a 20-second spinner. Here's the setup I use in Next.js 15 with the Vercel AI SDK, plus the two things that quietly trip people up. The route handler // app/api/chat/route.ts import { openai } fro…

Read the full story at DEV Community — AI ↗

Timeline · 1 report

  1. 2026-10-05 17:41 · DEV Community — AI
    Streaming an LLM response in Next.js 15 without the UI feeling broken

More stories

  1. OpenAI launches GPT-6.2 Astra and Sol as Google ships Gemini 4 Neon and Microsoft unveils MAI Code 2 — OpenAI News
  2. ChatGPT, Claude, Gemini and Grok helped plan terror attacks in US government test — The Independent Tech
  3. OpenAI unveils Performance Factory, a Codex-powered system that keeps ChatGPT fast — OpenAI News
  4. Developers increasingly run Claude Code alongside rival coding agents and alternative backends — DEV Community — AI
  5. California lawsuit targets OpenAI over AI agents' actions — New Scientist Technology
  6. Perplexity Launches Orchestrator API With Same-Model Failover — Unite.AI
  7. AI Coding Agents Face Growing Scrutiny Over Security, Performance and Workflow Integration — Forbes AI
  8. OpenAI builds Performance Factory using Codex agents to keep ChatGPT fast — OpenAI (X)

Read the Daily Brief: the day's most important AI stories →