Skip to content

Commit

Permalink
use multipart
Browse files Browse the repository at this point in the history
  • Loading branch information
angus-langchain committed Dec 12, 2024
1 parent 181f839 commit 0120dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/langsmith/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1824,8 +1824,8 @@ def update_run(
if attachments:
data["attachments"] = attachments
use_multipart = (
self.tracing_queue is not None
or self.compressed_runs_buffer is not None
(self.tracing_queue is not None
or self.compressed_runs_buffer is not None)
# batch ingest requires trace_id and dotted_order to be set
and data["trace_id"] is not None
and data["dotted_order"] is not None
Expand Down

0 comments on commit 0120dce

Please sign in to comment.