Skip to content

Commit 8092ad5

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
feat: add agent_card to agent engine spec
PiperOrigin-RevId: 821726573
1 parent 7a1262b commit 8092ad5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

vertexai/_genai/types.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4925,6 +4925,10 @@ class ReasoningEngineSpec(_common.BaseModel):
49254925
default=None,
49264926
description="""Optional. The service account that the Reasoning Engine artifact runs as. It should have "roles/storage.objectViewer" for reading the user project's Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If not specified, the Vertex AI Reasoning Engine Service Agent in the project will be used.""",
49274927
)
4928+
agent_card: Optional[str] = Field(
4929+
default=None,
4930+
description="""Optional. The A2A Agent Card that describes the agent capabilities.""",
4931+
)
49284932

49294933

49304934
class ReasoningEngineSpecDict(TypedDict, total=False):
@@ -4945,6 +4949,9 @@ class ReasoningEngineSpecDict(TypedDict, total=False):
49454949
service_account: Optional[str]
49464950
"""Optional. The service account that the Reasoning Engine artifact runs as. It should have "roles/storage.objectViewer" for reading the user project's Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If not specified, the Vertex AI Reasoning Engine Service Agent in the project will be used."""
49474951

4952+
agent_card: Optional[str]
4953+
"""Optional. The A2A Agent Card that describes the agent capabilities."""
4954+
49484955

49494956
ReasoningEngineSpecOrDict = Union[ReasoningEngineSpec, ReasoningEngineSpecDict]
49504957

0 commit comments

Comments
 (0)