What it's calledStreaming replytoken streamingGlossary
What goes wrong
A spinner sits in an empty reply for several seconds and then the whole answer drops in at once, so the wait feels longer and the jump is jarring.
The fix
Show the words as they are generated, starting within a few hundred milliseconds, with a caret at the end and Stop at hand.
Tell your AI
Stream the reply into the message as tokens arrive, with the first words on screen within 300ms: set it at var(--ds-font-size-md) (14px) on var(--ds-line-height-md) (22px), end the growing text with a 2px var(--ds-accent) caret, show a Stop button in var(--ds-text) until it finishes, then fade in copy and retry over var(--ds-duration-fast) (160ms).