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 a623e13 commit 3d3ce5bCopy full SHA for 3d3ce5b
sentry_sdk/ai/utils.py
@@ -189,7 +189,7 @@ def redact_blob_message_parts(
189
content = message.get("content")
190
if isinstance(content, list):
191
for item in content:
192
- if item.get("type") == "blob":
+ if isinstance(item, dict) and item.get("type") == "blob":
193
item["content"] = SENSITIVE_DATA_SUBSTITUTE
194
return messages
195
0 commit comments