googleapis / googleapis/python-aiplatform
Function AgentInfo.load_from_agent error when work on multiple agent
- Lingua principale
- Python
- Stelle
- 905
- Fork
- 465
- Merge medio
- 1g 13h
- PR unite (30g)
- 44
Descrizione
#### 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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.