Commit: 0d91e9a
Date: September 26, 2025 at 11:31 AM
- Fix LoadArtifactsTool
There were two issues with load artifacts tool:
Unmarshalling json string array, it was treating string array as []any instead of []string, because of it it wasn't converting properly, leaving the artifactsName array empty.
The prompt wasn't completely right, the older prompt ran into issues like failing to process the artifact since it thought it could load them once and be done. But we want it to issue the load_artifact function call every time it needs to access them. I've asked about the issue to Java adk developer and they fixed it on their side as well.
I've also added example where I insert two artifacts and you can ask the agent about it and it can describe them without issues.
Powered by ChangeCrab