Apps can now display thinking steps to users!
Display your apps' and agents' actions with three new Block Kit components:
- The
task_cardblock displays a single task. - The
url sourceelement displays clickable URL references within a task card. - The
planblock displays multiple of those tasks together in a unified view.
How tasks are displayed is set with a new parameter in the text-streaming API methods: task_display_mode. Use this to choose whether your app's tasks appear individually or in a comprehensive plan.
Then update the task cards and plan via the new chunks parameter. The parameter also supports plain markdown.
Ready to test it out? Check out our guide on developing AI apps, or jump straight to the text-streaming methods' reference pages: