From e8e4df99593a917d5225757301b0e025045f85e7 Mon Sep 17 00:00:00 2001 From: isaac hershenson Date: Fri, 10 Jan 2025 10:23:06 -0800 Subject: [PATCH] fmt --- python/langsmith/evaluation/_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/langsmith/evaluation/_runner.py b/python/langsmith/evaluation/_runner.py index b08775193..c81a1d097 100644 --- a/python/langsmith/evaluation/_runner.py +++ b/python/langsmith/evaluation/_runner.py @@ -2247,7 +2247,7 @@ def _reset_example_attachments(example: schemas.Example) -> schemas.Example: new_attachments[key] = { "presigned_url": attachment["presigned_url"], "reader": reader, - "mime_type": attachment["mime_type"], + "mime_type": attachment.get("mime_type"), } # Create a new Example instance with the updated attachments