Skip to content

Commit 354ac17

Browse files
committed
fix(antigravity): add debug logging for non-data URL images
Logs a debug message when skipping non-data URL images, helping developers troubleshoot why images may not appear in requests.
1 parent 991a8e3 commit 354ac17

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rotator_library/providers/antigravity_provider.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2424,6 +2424,7 @@ def _parse_image_url(self, image_url: Dict[str, Any]) -> Optional[Dict[str, Any]
24242424
"""Parse image URL into Gemini inlineData format."""
24252425
url = image_url.get("url", "")
24262426
if not url.startswith("data:"):
2427+
lib_logger.debug(f"Skipping non-data URL image: {url[:100]}...")
24272428
return None
24282429

24292430
try:

0 commit comments

Comments
 (0)