Every model provider streams its answer back as server-sent events, and every application has to put the pieces together again. It is fifteen lines, and getting one of them wrong shows up as a truncated answer or a stray [DONE] in your product.
Write merge_stream_deltas(chunks) taking a list of raw lines and returning the assembled string.
"data: <text>". Everything after data: and one optional space is content."data: [DONE]" is the end sentinel. Stop there and do not include it.event: lines, comment lines starting with :, and None. Skip them.Join the content in order, with nothing between the pieces.
Build the architecture on a canvas: place the components, configure them, connect them into a data flow, and write a short reason for each one. The AI reviewer grades your design against a rubric written specifically for this problem.
Minimum 5 components · needs a wide desktop screen