-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bot triaged[Bot] This issue is triaged by ADK bot[Bot] This issue is triaged by ADK botservices[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc
Description
** Please make sure you read the contribution guide and file the issues in the right place. **
Contribution guide.
Describe the bug
The version listing throws an error when a full agent engine resource name is used as an app name.
Relevant LoC:
_, _, _, _, version = blob.name.split("/") |
To Reproduce
Steps to reproduce the behavior:
- Set environment variable GOOGLE_CLOUD_AGENT_ENGINE_ID to a agent engine resource name
- Use an agent with a tool that calls
await tool_context.load_artifact(...)
- See an error message from list_versions (called in load_artifact) that unpacks a wrong number of path elements.
Expected behavior
Loading artifacts in a tool with tool_context.load_artifact()
should not fail and throw a runtime exception.
Screenshots
Not needed.
Desktop (please complete the following information):
- OS: debian
- Python version(python -V): 3.12
- ADK version(pip show google-adk): 1.6.1
Model Information:
gemini-2.5-flash
Additional context
N/A
Metadata
Metadata
Assignees
Labels
bot triaged[Bot] This issue is triaged by ADK bot[Bot] This issue is triaged by ADK botservices[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc