langchain 1.0.0a6__py3-none-any.whl → 1.0.0a7__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.
Potentially problematic release.
This version of langchain might be problematic. Click here for more details.
- langchain/__init__.py +1 -1
- langchain/agents/middleware/human_in_the_loop.py +1 -1
- {langchain-1.0.0a6.dist-info → langchain-1.0.0a7.dist-info}/METADATA +5 -5
- {langchain-1.0.0a6.dist-info → langchain-1.0.0a7.dist-info}/RECORD +7 -7
- {langchain-1.0.0a6.dist-info → langchain-1.0.0a7.dist-info}/WHEEL +0 -0
- {langchain-1.0.0a6.dist-info → langchain-1.0.0a7.dist-info}/entry_points.txt +0 -0
- {langchain-1.0.0a6.dist-info → langchain-1.0.0a7.dist-info}/licenses/LICENSE +0 -0
langchain/__init__.py
CHANGED
|
@@ -149,7 +149,7 @@ class HumanInTheLoopMiddleware(AgentMiddleware):
|
|
|
149
149
|
if not messages:
|
|
150
150
|
return None
|
|
151
151
|
|
|
152
|
-
last_ai_msg = next((msg for msg in messages if isinstance(msg, AIMessage)), None)
|
|
152
|
+
last_ai_msg = next((msg for msg in reversed(messages) if isinstance(msg, AIMessage)), None)
|
|
153
153
|
if not last_ai_msg or not last_ai_msg.tool_calls:
|
|
154
154
|
return None
|
|
155
155
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: langchain
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.0a7
|
|
4
4
|
Summary: Building applications with LLMs through composability
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Source Code, https://github.com/langchain-ai/langchain/tree/master/libs/langchain
|
|
7
7
|
Project-URL: Release Notes, https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain%3D%3D0%22&expanded=true
|
|
8
8
|
Project-URL: repository, https://github.com/langchain-ai/langchain
|
|
9
|
-
Requires-Python:
|
|
9
|
+
Requires-Python: <4.0.0,>=3.10.0
|
|
10
10
|
Requires-Dist: langchain-core<2.0.0,>=0.3.75
|
|
11
|
-
Requires-Dist: langchain-text-splitters<
|
|
12
|
-
Requires-Dist: langgraph
|
|
13
|
-
Requires-Dist: pydantic
|
|
11
|
+
Requires-Dist: langchain-text-splitters<2.0.0,>=0.3.11
|
|
12
|
+
Requires-Dist: langgraph<2.0.0,>=0.6.7
|
|
13
|
+
Requires-Dist: pydantic<3.0.0,>=2.7.4
|
|
14
14
|
Provides-Extra: community
|
|
15
15
|
Requires-Dist: langchain-community; extra == "community"
|
|
16
16
|
Provides-Extra: anthropic
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
langchain-1.0.
|
|
2
|
-
langchain-1.0.
|
|
3
|
-
langchain-1.0.
|
|
4
|
-
langchain-1.0.
|
|
5
|
-
langchain/__init__.py,sha256=
|
|
1
|
+
langchain-1.0.0a7.dist-info/METADATA,sha256=avxuGLMGlcJmBGdtOt03ZUAml3qw6l6Hfo8Lkvp1Q2g,6259
|
|
2
|
+
langchain-1.0.0a7.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
|
|
3
|
+
langchain-1.0.0a7.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
|
4
|
+
langchain-1.0.0a7.dist-info/licenses/LICENSE,sha256=TsZ-TKbmch26hJssqCJhWXyGph7iFLvyFBYAa3stBHg,1067
|
|
5
|
+
langchain/__init__.py,sha256=Z6r4MjNaC6DSyiMgFSRmi8EhizelVIOb_CVJJRAVjDc,604
|
|
6
6
|
langchain/_internal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
langchain/_internal/_documents.py,sha256=z9wAPukoASOMw4WTFFBKCCZYsvsKbo-Cq6CeHjdq9eE,1045
|
|
8
8
|
langchain/_internal/_lazy_import.py,sha256=S_iSAxGvW7lVcUQYgi45KG8XhWZzkORsZ_olPMZPlqU,1258
|
|
@@ -14,7 +14,7 @@ langchain/agents/_internal/__init__.py,sha256=5nNBeaeQIvv9IOQjY4_aNW8pffWzMXQgi0
|
|
|
14
14
|
langchain/agents/_internal/_typing.py,sha256=JoWa-KL5uLNeq6yrm56wnIvhDeFnCt2fTzgUcj5zWy4,270
|
|
15
15
|
langchain/agents/middleware/__init__.py,sha256=Q68coEBPtxTnb7LuDDSKvUrK0RvppqEwyyzpE8-RgiE,613
|
|
16
16
|
langchain/agents/middleware/dynamic_system_prompt.py,sha256=uakW4wyVc9h52T2QO4BeKWmbc2UK31VqFGuMMvj9wX8,3267
|
|
17
|
-
langchain/agents/middleware/human_in_the_loop.py,sha256=
|
|
17
|
+
langchain/agents/middleware/human_in_the_loop.py,sha256=0XX0fvd6XezrbhAnhBRe3OgHQDnZeWK0LcorqWC0_BE,10101
|
|
18
18
|
langchain/agents/middleware/prompt_caching.py,sha256=du_qrBr0_kwWhdO_xggtfrEN5FTcGLKu3oYQDnSS0Do,2263
|
|
19
19
|
langchain/agents/middleware/summarization.py,sha256=qqEqAuJXQ5rfewhFHftHLnrX8jhdMu9dPfz0akhzfuc,10281
|
|
20
20
|
langchain/agents/middleware/types.py,sha256=DRsl0GjgWXbPlFTiiVnI8pMhzMJF3Y2VkE2zLMKQhaY,3826
|
|
@@ -36,4 +36,4 @@ langchain/storage/exceptions.py,sha256=Fl_8tON3KmByBKwXtno5WSj0-c2RiZxnhw3gv5aS2
|
|
|
36
36
|
langchain/storage/in_memory.py,sha256=ozrmu0EtaJJVSAzK_u7nzxWpr9OOscWkANHSg-qIVYQ,369
|
|
37
37
|
langchain/text_splitter.py,sha256=yxWs4secpnkfK6VZDiNJNdlYOrRZ18RQZj1S3xNQ73A,1554
|
|
38
38
|
langchain/tools/__init__.py,sha256=NYQzLxW2iI5Twu3voefVC-dJEI4Wgh7jC311CQEpvZs,252
|
|
39
|
-
langchain-1.0.
|
|
39
|
+
langchain-1.0.0a7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|