From 89510e7da806e4cbb2e619fb4bc16762e6097db9 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Tue, 1 Oct 2024 17:10:04 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: William FH <13333726+hinthornw@users.noreply.github.com> --- python/langsmith/client.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python/langsmith/client.py b/python/langsmith/client.py index c21f1f2b5..e99164831 100644 --- a/python/langsmith/client.py +++ b/python/langsmith/client.py @@ -1255,7 +1255,8 @@ def _run_transform( logger.warning( "You're trying to submit a run with attachments, but your current" " LangSmith integration doesn't support it. Please contact the " - " LangChain team for assitance on how to upgrade." + " LangChain team at support at langchain" + " dot dev for assistance on how to upgrade." ) return run_create @@ -1597,7 +1598,8 @@ def multipart_ingest_runs( for run in create_dicts: if not run.get("trace_id") or not run.get("dotted_order"): raise ls_utils.LangSmithUserError( - "Batch ingest requires trace_id and dotted_order to be set." + "Multipart ingest requires trace_id and dotted_order" + " to be set in create dicts." ) else: del run @@ -1605,7 +1607,8 @@ def multipart_ingest_runs( for run in update_dicts: if not run.get("trace_id") or not run.get("dotted_order"): raise ls_utils.LangSmithUserError( - "Batch ingest requires trace_id and dotted_order to be set." + "Multipart ingest requires trace_id and dotted_order" + " to be set in update dicts." ) else: del run