feat: Add the support for returning struct_data.uri in DiscoveryEngineSearchTool

For https://github.com/google/adk-python/issues/3146

PiperOrigin-RevId: 818458080
This commit is contained in:
Xuan Yang
2025-10-12 20:28:08 -07:00
committed by Copybara-Service
parent 6da7274858
commit e63180cb62
2 changed files with 19 additions and 5 deletions
@@ -87,7 +87,11 @@ class TestDiscoveryEngineSearchTool:
chunk=discoveryengine.Chunk(
document_metadata={
"title": "Test Title",
"uri": "http://example.com",
"uri": "gs://test_bucket/test_file",
"struct_data": {
"key1": "value1",
"uri": "http://example.com",
},
},
content="Test Content",
)