Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions src/a2a/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ class DeleteTaskPushNotificationConfigParams(A2ABaseModel):

id: str
"""
The unique identifier of the task.
The unique identifier (e.g. UUID) of the task.
"""
metadata: dict[str, Any] | None = None
"""
Expand Down Expand Up @@ -432,7 +432,7 @@ class GetTaskPushNotificationConfigParams(A2ABaseModel):

id: str
"""
The unique identifier of the task.
The unique identifier (e.g. UUID) of the task.
"""
metadata: dict[str, Any] | None = None
"""
Expand Down Expand Up @@ -677,7 +677,7 @@ class ListTaskPushNotificationConfigParams(A2ABaseModel):

id: str
"""
The unique identifier of the task.
The unique identifier (e.g. UUID) of the task.
"""
metadata: dict[str, Any] | None = None
"""
Expand Down Expand Up @@ -830,7 +830,7 @@ class PushNotificationConfig(A2ABaseModel):
"""
id: str | None = None
"""
A unique ID for the push notification configuration, set by the client
A unique identifier (e.g. UUID) for the push notification configuration, set by the client
to support multiple notification callbacks.
"""
token: str | None = None
Expand Down Expand Up @@ -881,7 +881,7 @@ class TaskIdParams(A2ABaseModel):

id: str
"""
The unique identifier of the task.
The unique identifier (e.g. UUID) of the task.
"""
metadata: dict[str, Any] | None = None
"""
Expand Down Expand Up @@ -940,7 +940,7 @@ class TaskPushNotificationConfig(A2ABaseModel):
"""
task_id: str
"""
The ID of the task.
The unique identifier (e.g. UUID) of the task.
"""


Expand All @@ -955,7 +955,7 @@ class TaskQueryParams(A2ABaseModel):
"""
id: str
"""
The unique identifier of the task.
The unique identifier (e.g. UUID) of the task.
"""
metadata: dict[str, Any] | None = None
"""
Expand Down Expand Up @@ -1376,7 +1376,7 @@ class Artifact(A2ABaseModel):

artifact_id: str
"""
A unique identifier for the artifact within the scope of the task.
A unique identifier (e.g. UUID) for the artifact within the scope of the task.
"""
description: str | None = None
"""
Expand Down Expand Up @@ -1440,7 +1440,7 @@ class Message(A2ABaseModel):

context_id: str | None = None
"""
The context identifier for this message, used to group related interactions.
The context ID for this message, used to group related interactions.
"""
extensions: list[str] | None = None
"""
Expand Down Expand Up @@ -1473,7 +1473,7 @@ class Message(A2ABaseModel):
"""
task_id: str | None = None
"""
The identifier of the task this message is part of. Can be omitted for the first message of a new task.
The ID of the task this message is part of. Can be omitted for the first message of a new task.
"""


Expand Down Expand Up @@ -1863,15 +1863,15 @@ class Task(A2ABaseModel):
"""
context_id: str
"""
A server-generated identifier for maintaining context across multiple related tasks or interactions.
A server-generated unique identifier (e.g. UUID) for maintaining context across multiple related tasks or interactions.
"""
history: list[Message] | None = None
"""
An array of messages exchanged during the task, representing the conversation history.
"""
id: str
"""
A unique identifier for the task, generated by the server for a new task.
A unique identifier (e.g. UUID) for the task, generated by the server for a new task.
"""
kind: Literal['task'] = 'task'
"""
Expand Down
Loading