Expand description
Following a task the client holds no stream for.
Spec §7.6.2: a client without an open response stream “risks missing
Task updates” after TASK_STATE_AUTH_REQUIRED, since the agent may
receive credentials out of band and carry on, so it “SHOULD perform one
of the following: Subscribe to Task … Register a webhook … Begin
polling the Task”. A2aClient::follow_task does the first when the
agent can stream and the third when it cannot.
Structs§
- Task
Follow - The updates of one task, from
A2aClient::follow_task.