From a22f99c960a1b3a3fa4770206d10539b4b40eb53 Mon Sep 17 00:00:00 2001 From: Ankush Gola Date: Thu, 12 Dec 2024 00:00:33 -0800 Subject: [PATCH] comment out update path --- python/bench/tracing_script.py | 1 - python/langsmith/client.py | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/python/bench/tracing_script.py b/python/bench/tracing_script.py index ab6ef81ce..b574c6b8d 100644 --- a/python/bench/tracing_script.py +++ b/python/bench/tracing_script.py @@ -1,7 +1,6 @@ import os os.environ["LANGCHAIN_PROJECT"] = "llm_messages_test_py" os.environ["LANGSMITH_USE_PYO3_CLIENT"] = "true" -os.environ["LANGSMITH_ENDPOINT"] = "http://localhost:1984" import openai from langsmith import traceable diff --git a/python/langsmith/client.py b/python/langsmith/client.py index 6bede3a15..e67c106ff 100644 --- a/python/langsmith/client.py +++ b/python/langsmith/client.py @@ -1756,9 +1756,9 @@ def update_run( print("UPDATE_RUN", data) - if self._pyo3_client is not None: - self._pyo3_client.update_run(data) - elif use_multipart and self.tracing_queue is not None: + # if self._pyo3_client is not None: + # self._pyo3_client.update_run(data) + if use_multipart and self.tracing_queue is not None: # not collecting attachments currently, use empty dict serialized_op = serialize_run_dict(operation="patch", payload=data) self.tracing_queue.put(