File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 21
21
22
22
# Avoid calling into importlib on every call to __version__
23
23
24
- __version__ = "0.4.6 "
24
+ __version__ = "0.4.7 "
25
25
version = __version__ # for backwards compatibility
26
26
27
27
Original file line number Diff line number Diff line change 8
8
try :
9
9
from agents import tracing # type: ignore[import]
10
10
11
+ required = (
12
+ "TracingProcessor" ,
13
+ "Trace" ,
14
+ "Span" ,
15
+ "ResponseSpanData" ,
16
+ )
17
+ if not all (hasattr (tracing , name ) for name in required ):
18
+ raise ImportError ("The `agents` package is not installed." )
19
+
11
20
import langsmith .wrappers ._agent_utils as agent_utils
12
21
13
22
HAVE_AGENTS = True
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " langsmith"
3
- version = " 0.4.6 "
3
+ version = " 0.4.7 "
4
4
description = " Client library to connect to the LangSmith LLM Tracing and Evaluation Platform."
5
5
authors = [
" LangChain <[email protected] >" ]
6
6
license = " MIT"
You can’t perform that action at this time.
0 commit comments