Skip to content

Commit

Permalink
Deactivate LangSmith
Browse files Browse the repository at this point in the history
  • Loading branch information
cbornet committed Jul 23, 2024
1 parent 146f987 commit 0b77a31
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions libs/e2e-tests/e2e_tests/test_utils/tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@
import time
from typing import Callable

from langsmith import Client
# TODO: LangSmith deactivated for now
# from langsmith import Client

LANGSMITH_CLIENT = Client()
# LANGSMITH_CLIENT = Client()


def record_langsmith_sharelink(
run_id: str, record_property: Callable, tries: int = 6
) -> None:
try:
sharelink = LANGSMITH_CLIENT.share_run(run_id)
# TODO: LangSmith deactivated for now
# sharelink = LANGSMITH_CLIENT.share_run(run_id)
sharelink = "deactivated"
record_property("langsmith_url", sharelink)
logging.info("recorded langsmith link: %s", sharelink)
except Exception:
Expand Down

0 comments on commit 0b77a31

Please sign in to comment.