Finalizes stream processing and handles response sending.
This should be called when message is completed. It finalizes any remaining content, sets message_completed flag, and handles response sending based on queue status. Line-based changes are applied serially after message completion. AST-based changes are handled by the queue.
| response |
The chat response object |