Skip to content

Commit 3c50ee1

Browse files
docs: remove final and metadata fields from docstring (#66)
1 parent 3fa1d69 commit 3c50ee1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/a2a/utils/message.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ def new_agent_text_message(
2121
text: The text content of the message.
2222
context_id: The context ID for the message.
2323
task_id: The task ID for the message.
24-
final: Optional boolean indicating if this is the final message.
25-
metadata: Optional metadata for the message.
2624
2725
Returns:
2826
A new `Message` object with role 'agent'.
@@ -47,8 +45,6 @@ def new_agent_parts_message(
4745
parts: The list of `Part` objects for the message content.
4846
context_id: The context ID for the message.
4947
task_id: The task ID for the message.
50-
final: Optional boolean indicating if this is the final message.
51-
metadata: Optional metadata for the message.
5248
5349
Returns:
5450
A new `Message` object with role 'agent'.

0 commit comments

Comments
 (0)