googleapis / googleapis/python-aiplatform
Function AgentInfo.load_from_agent error when work on multiple agent
- Lenguaje dominante
- Python
- Estrellas
- 905
- Forks
- 465
- Merge medio
- 1 d 13 h
- PR fusionados (30 d)
- 44
Descripción
#### 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.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.