Skip to content

Commit

Permalink
fix(py): Tag pytest experiments (#1481)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblee93 authored Jan 31, 2025
1 parent 232618b commit bd7dfb3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/langsmith/testing/_internal.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,8 @@ def _start_experiment(
metadata={
"revision_id": ls_env.get_langchain_env_var_metadata().get(
"revision_id"
)
),
"__ls_runner": "pytest",
},
)
except ls_utils.LangSmithConflictError:
Expand Down Expand Up @@ -457,6 +458,7 @@ def _end_tests(test_suite: _LangSmithTestSuite):
**git_info,
"dataset_version": dataset_version,
"revision_id": ls_env.get_langchain_env_var_metadata().get("revision_id"),
"__ls_runner": "pytest",
},
)
if dataset_version and git_info["commit"] is not None:
Expand Down

0 comments on commit bd7dfb3

Please sign in to comment.