diff --git a/agent_sdks/python/src/a2ui/core/parser/streaming.py b/agent_sdks/python/src/a2ui/core/parser/streaming.py index 961e81b5a..c0fa376a5 100644 --- a/agent_sdks/python/src/a2ui/core/parser/streaming.py +++ b/agent_sdks/python/src/a2ui/core/parser/streaming.py @@ -1232,8 +1232,7 @@ def traverse(obj, parent_key=None): "id": placeholder_id, "component": { "Text": { - "text": {"literalString": f"Loading {child_id}..."}, - "usageHint": "caption", + "text": {"literalString": ""}, } }, } @@ -1255,8 +1254,7 @@ def traverse(obj, parent_key=None): "id": placeholder_id, "component": { "Text": { - "text": {"literalString": "Loading children..."}, - "usageHint": "caption", + "text": {"literalString": ""}, } }, } @@ -1272,8 +1270,7 @@ def traverse(obj, parent_key=None): "id": placeholder_id, "component": { "Text": { - "text": {"literalString": f"Loading {child_id}..."}, - "usageHint": "caption", + "text": {"literalString": ""}, } }, } diff --git a/agent_sdks/python/tests/core/parser/test_streaming_v08.py b/agent_sdks/python/tests/core/parser/test_streaming_v08.py index daffcb6fb..d7e441386 100644 --- a/agent_sdks/python/tests/core/parser/test_streaming_v08.py +++ b/agent_sdks/python/tests/core/parser/test_streaming_v08.py @@ -321,8 +321,7 @@ def test_incremental_yielding_v08(mock_catalog): "id": "loading_children_root-column", "component": { "Text": { - "text": {"literalString": "Loading children..."}, - "usageHint": "caption", + "text": {"literalString": ""}, } }, }, @@ -347,8 +346,7 @@ def test_incremental_yielding_v08(mock_catalog): "id": "loading_c1", "component": { "Text": { - "text": {"literalString": "Loading c1..."}, - "usageHint": "caption", + "text": {"literalString": ""}, } }, }, @@ -375,8 +373,7 @@ def test_incremental_yielding_v08(mock_catalog): "id": "loading_c1", "component": { "Text": { - "text": {"literalString": "Loading c1..."}, - "usageHint": "caption", + "text": {"literalString": ""}, } }, }, @@ -384,8 +381,7 @@ def test_incremental_yielding_v08(mock_catalog): "id": "loading_c2", "component": { "Text": { - "text": {"literalString": "Loading c2..."}, - "usageHint": "caption", + "text": {"literalString": ""}, } }, }, @@ -428,8 +424,7 @@ def test_incremental_yielding_v08(mock_catalog): "id": "loading_c2", "component": { "Text": { - "text": {"literalString": "Loading c2..."}, - "usageHint": "caption", + "text": {"literalString": ""}, } }, }, @@ -813,8 +808,7 @@ def test_partial_single_child_string(mock_catalog): "id": "loading_c1", "component": { "Text": { - "text": {"literalString": "Loading c1..."}, - "usageHint": "caption", + "text": {"literalString": ""}, } }, }, @@ -886,8 +880,7 @@ def test_partial_template_componentId(mock_catalog): "id": "loading_c1", "component": { "Text": { - "text": {"literalString": "Loading c1..."}, - "usageHint": "caption", + "text": {"literalString": ""}, } }, }, @@ -959,8 +952,7 @@ def test_partial_children_lists(mock_catalog): "id": "loading_c1", "component": { "Text": { - "text": {"literalString": "Loading c1..."}, - "usageHint": "caption", + "text": {"literalString": ""}, } }, }, @@ -968,8 +960,7 @@ def test_partial_children_lists(mock_catalog): "id": "loading_c2", "component": { "Text": { - "text": {"literalString": "Loading c2..."}, - "usageHint": "caption", + "text": {"literalString": ""}, } }, }, @@ -977,8 +968,7 @@ def test_partial_children_lists(mock_catalog): "id": "loading_c3", "component": { "Text": { - "text": {"literalString": "Loading c3..."}, - "usageHint": "caption", + "text": {"literalString": ""}, } }, }, @@ -1015,8 +1005,7 @@ def test_partial_children_lists(mock_catalog): "id": "loading_c2", "component": { "Text": { - "text": {"literalString": "Loading c2..."}, - "usageHint": "caption", + "text": {"literalString": ""}, } }, }, @@ -1024,8 +1013,7 @@ def test_partial_children_lists(mock_catalog): "id": "loading_c3", "component": { "Text": { - "text": {"literalString": "Loading c3..."}, - "usageHint": "caption", + "text": {"literalString": ""}, } }, }, @@ -2075,8 +2063,7 @@ def test_sniff_partial_component_discards_empty_children_dict(mock_catalog): { "component": { "Text": { - "text": {"literalString": "Loading item-list..."}, - "usageHint": "caption", + "text": {"literalString": ""}, } }, "id": "loading_item-list",