Skip to content

Commit

Permalink
Add version check for feedback multipart (#1151)
Browse files Browse the repository at this point in the history
  • Loading branch information
akira authored Oct 29, 2024
2 parents 636231e + 545a931 commit 9abfa28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions python/langsmith/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
):
Expand Down
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 9abfa28

Please sign in to comment.