langchain-dev-utils 1.2.1__py3-none-any.whl → 1.2.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- langchain_dev_utils/__init__.py +1 -1
- langchain_dev_utils/chat_models/adapters/openai_compatible.py +7 -0
- {langchain_dev_utils-1.2.1.dist-info → langchain_dev_utils-1.2.2.dist-info}/METADATA +1 -2
- {langchain_dev_utils-1.2.1.dist-info → langchain_dev_utils-1.2.2.dist-info}/RECORD +6 -6
- {langchain_dev_utils-1.2.1.dist-info → langchain_dev_utils-1.2.2.dist-info}/WHEEL +0 -0
- {langchain_dev_utils-1.2.1.dist-info → langchain_dev_utils-1.2.2.dist-info}/licenses/LICENSE +0 -0
langchain_dev_utils/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "1.2.
|
|
1
|
+
__version__ = "1.2.2"
|
|
@@ -182,6 +182,13 @@ class _BaseChatOpenAICompatible(BaseChatOpenAI):
|
|
|
182
182
|
self.async_client = self.root_async_client.chat.completions
|
|
183
183
|
return self
|
|
184
184
|
|
|
185
|
+
@model_validator(mode="after")
|
|
186
|
+
def _set_model_profile(self) -> Self:
|
|
187
|
+
"""Set model profile if not overridden."""
|
|
188
|
+
if self.profile is None:
|
|
189
|
+
self.profile = {}
|
|
190
|
+
return self
|
|
191
|
+
|
|
185
192
|
def _create_chat_result(
|
|
186
193
|
self,
|
|
187
194
|
response: Union[dict, openai.BaseModel],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: langchain-dev-utils
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: A practical utility library for LangChain and LangGraph development
|
|
5
5
|
Project-URL: Source Code, https://github.com/TBice123123/langchain-dev-utils
|
|
6
6
|
Project-URL: repository, https://github.com/TBice123123/langchain-dev-utils
|
|
@@ -8,7 +8,6 @@ Project-URL: documentation, https://tbice123123.github.io/langchain-dev-utils-do
|
|
|
8
8
|
Author-email: tiebingice <tiebingice123@outlook.com>
|
|
9
9
|
License-File: LICENSE
|
|
10
10
|
Requires-Python: >=3.11
|
|
11
|
-
Requires-Dist: langchain-deepseek>=1.0.1
|
|
12
11
|
Requires-Dist: langchain>=1.1.0
|
|
13
12
|
Requires-Dist: langgraph>=1.0.0
|
|
14
13
|
Provides-Extra: standard
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
langchain_dev_utils/__init__.py,sha256=
|
|
1
|
+
langchain_dev_utils/__init__.py,sha256=uuf4VNtTNA93fMhoAur9YafzaKJFnczY-H1SSCSuRVQ,22
|
|
2
2
|
langchain_dev_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
langchain_dev_utils/agents/__init__.py,sha256=e17SMQdJIQngbUCr2N1tY-yw0tD3tEnH7PSvyDmVPeQ,127
|
|
4
4
|
langchain_dev_utils/agents/factory.py,sha256=h4uAkid2NJMMs4qV6RYFexew-ixfhEvpa254eDeDEcU,3912
|
|
@@ -16,7 +16,7 @@ langchain_dev_utils/chat_models/__init__.py,sha256=YSLUyHrWEEj4y4DtGFCOnDW02VIYZ
|
|
|
16
16
|
langchain_dev_utils/chat_models/base.py,sha256=d4kGadmX-AfMSHqlELflEbkdqCUlOfiOqzCv9_fTYU8,10711
|
|
17
17
|
langchain_dev_utils/chat_models/types.py,sha256=FM_RyiGRTb1dy59MovhDYM4Kj9cpybt2BFha0e2u0qA,468
|
|
18
18
|
langchain_dev_utils/chat_models/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
|
-
langchain_dev_utils/chat_models/adapters/openai_compatible.py,sha256=
|
|
19
|
+
langchain_dev_utils/chat_models/adapters/openai_compatible.py,sha256=wR7Uym9rQWsxhsBt8LrE30dayWcMnbsU8AXC4kOtnyI,19719
|
|
20
20
|
langchain_dev_utils/embeddings/__init__.py,sha256=zbEOaV86TUi9Zrg_dH9dpdgacWg31HMJTlTQknA9EKk,244
|
|
21
21
|
langchain_dev_utils/embeddings/base.py,sha256=25ebUEaf7075h8NARgTHjAvwK6JddhHor5upiucJqu0,9686
|
|
22
22
|
langchain_dev_utils/message_convert/__init__.py,sha256=xwjaQ1oJoc80xy70oQI4uW3gAmgV5JymJd5hgnA6s3g,458
|
|
@@ -29,7 +29,7 @@ langchain_dev_utils/pipeline/types.py,sha256=T3aROKKXeWvd0jcH5XkgMDQfEkLfPaiOhhV
|
|
|
29
29
|
langchain_dev_utils/tool_calling/__init__.py,sha256=mu_WxKMcu6RoTf4vkTPbA1WSBSNc6YIqyBtOQ6iVQj4,322
|
|
30
30
|
langchain_dev_utils/tool_calling/human_in_the_loop.py,sha256=nbaON9806pv5tpMRQUA_Ch3HJA5HBFgzZR7kQRf6PiY,9819
|
|
31
31
|
langchain_dev_utils/tool_calling/utils.py,sha256=3cNv_Zx32KxdsGn8IkxjWUzxYEEwVJeJgTZTbfSg0pA,2751
|
|
32
|
-
langchain_dev_utils-1.2.
|
|
33
|
-
langchain_dev_utils-1.2.
|
|
34
|
-
langchain_dev_utils-1.2.
|
|
35
|
-
langchain_dev_utils-1.2.
|
|
32
|
+
langchain_dev_utils-1.2.2.dist-info/METADATA,sha256=Gia4zy_wdyWGd_0HXYTsglTut7i-3or0z2Zzikbgq2Q,16305
|
|
33
|
+
langchain_dev_utils-1.2.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
34
|
+
langchain_dev_utils-1.2.2.dist-info/licenses/LICENSE,sha256=AWAOzNEcsvCEzHOF0qby5OKxviVH_eT9Yce1sgJTico,1084
|
|
35
|
+
langchain_dev_utils-1.2.2.dist-info/RECORD,,
|
|
File without changes
|
{langchain_dev_utils-1.2.1.dist-info → langchain_dev_utils-1.2.2.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|