[feat] Add detail in image_data (#8596)

This commit is contained in:
Yuhao Yao
2025-08-05 14:01:38 +08:00
committed by GitHub
parent b01eeb80f8
commit 873f384a51
5 changed files with 33 additions and 10 deletions

View File

@@ -85,7 +85,7 @@ class TestTemplateContentFormatDetection(CustomTestCase):
# Check that image_data was extracted
self.assertEqual(len(image_data), 1)
self.assertEqual(image_data[0], "http://example.com/image.jpg")
self.assertEqual(image_data[0].url, "http://example.com/image.jpg")
# Check that content was normalized
expected_content = [