Skip to content

Commit 072b388

Browse files
Update src/a2a/utils/artifact.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent beeddbd commit 072b388

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/a2a/utils/artifact.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ def __init__(
123123
name: str = 'response',
124124
artifact_id: str | None = None,
125125
) -> None:
126-
self.context_id = context_id
127-
self.task_id = task_id
128-
self.name = name
129-
self.artifact_id = artifact_id or str(uuid.uuid4())
126+
self._context_id = context_id
127+
self._task_id = task_id
128+
self._name = name
129+
self._artifact_id = artifact_id or str(uuid.uuid4())
130130

131131
def append(self, text: str) -> TaskArtifactUpdateEvent:
132132
"""Emit a chunk to be appended to the streaming artifact.

0 commit comments

Comments
 (0)