AIAgentActivity
What the agent says it is doing while it answers, besides what its reply shows, such as thinking or checking external sources. Stream Chat's AI indicator events carry it:
feed.update(activity = AIAgentActivity(AIAgentActivity.State(event.aiState), text = event.aiMessage))Content copied to clipboard
Parameters
state
What the agent is doing.
text
What it says about it, such as "Searching the web", or why it couldn't answer.