The response was being printed twice: once during streaming and again after task completion. Removed the redundant print_smart() call since streaming already displays the response in real-time.
The response was being printed twice: once during streaming and again after task completion. Removed the redundant print_smart() call since streaming already displays the response in real-time.