From 545a93199c4c092e06573795f9de8f78e6776aff Mon Sep 17 00:00:00 2001 From: Alex Kira Date: Tue, 29 Oct 2024 10:53:37 -0700 Subject: [PATCH] Add version check for feedback multipart --- python/langsmith/client.py | 2 ++ python/pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/python/langsmith/client.py b/python/langsmith/client.py index b09833d4f..ec3af9ee4 100644 --- a/python/langsmith/client.py +++ b/python/langsmith/client.py @@ -4341,6 +4341,8 @@ def create_feedback( if ( use_multipart + and self.info.version # TODO: Remove version check once versions have updated + and ls_utils.is_version_greater_or_equal(self.info.version, "0.8.10") and self.tracing_queue is not None and feedback.trace_id is not None ): diff --git a/python/pyproject.toml b/python/pyproject.toml index 620a3662a..2ecbf899c 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langsmith" -version = "0.1.138rc1" +version = "0.1.138rc2" description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform." authors = ["LangChain "] license = "MIT"