DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
AI for Frontend Developers Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
AI for Frontend Developers
What is the benefit of calling `stream.finalMessage()` after consuming a stream, instead of manually reconstructing the full Message from tracked deltas?
A
It's required — the stream doesn't work without it
B
It gives you the complete, fully-assembled Message object (including usage and stop_reason) without hand-tracking every field yourself
C
It re-sends the request
D
It cancels the stream
Check Answer