googleapis / googleapis/python-aiplatform
Function AgentInfo.load_from_agent error when work on multiple agent
- Dominant language
- Python
- Stars
- 905
- Forks
- 465
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 44
Description
#### 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.
Contributor guide
Assessment
This issue has not been assessed yet.