agentle.agents.a2a.tasks.task_statusΒΆ

A2A Task Status Model

This module defines the TaskStatus class, which represents the status of a task in the A2A protocol. It encapsulates the current state, message, and timestamp information for a task, providing detailed status tracking.

Classes

BaseModel()

Alias for pydantic.BaseModel.

Message(*, role, parts[, metadata])

Represents a message exchanged between a user and an agent.

TaskState(*values)

Enum representing the possible states of a task in the A2A protocol.

TaskStatus(*, state, message, timestamp)

Represents the detailed status of a task in the A2A protocol.

datetime(year, month, day[, hour[, minute[, ...)

The year, month and day arguments are required.