We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c606b66 commit c650799Copy full SHA for c650799
sentry_sdk/integrations/langchain.py
@@ -182,7 +182,7 @@ def _transform_langchain_content_block(
182
url = str(image_url_data)
183
184
# Check if it's a data URI (base64 encoded)
185
- if url.startswith("data:"):
+ if url and url.startswith("data:"):
186
# Parse data URI: data:mime_type;base64,content
187
try:
188
# Format: data:image/jpeg;base64,/9j/4AAQ...
0 commit comments