Skip to content

Function AgentInfo.load_from_agent error when work on multiple agent #6111

@nguoithichkhampha

Description

@nguoithichkhampha

Environment details

  • OS type and version:
  • Python version: 3.10
  • pip version: 25.3
  • google-cloud-aiplatform version: 1.126.1

Steps to reproduce

I'm following this guideline to evaluate the agent based on adk framework
https://docs.cloud.google.com/agent-builder/agent-engine/evaluate#run-agent-evaluation
But I get the error when implement with multiple agent system

File "/Users/Emotiv/ELLIA/.venv/lib/python3.10/site-packages/vertexai/_genai/types/evals.py", line 111, in load_from_agent
    instruction=agent.instruction,
  File "/Users/Emotiv/ELLIA/.venv/lib/python3.10/site-packages/pydantic/main.py", line 1026, in __getattr__
    raise AttributeError(f'{type(self).__name__!r} object has no attribute {item!r}')
AttributeError: 'SequentialAgent' object has no attribute 'instruction'

I think this api does not support for multiple agent. Just for single agent at the moment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: vertex-aiIssues related to the googleapis/python-aiplatform API.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions