langchain-arcade 1.0.0__tar.gz → 1.1.0__tar.gz

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.
@@ -1,18 +1,18 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: langchain-arcade
3
- Version: 1.0.0
4
- Summary: An integration package connecting Arcade and LangChain/LangGraph
3
+ Version: 1.1.0
4
+ Summary: An integration package connecting Arcade and Langchain/LangGraph
5
5
  Home-page: https://github.com/arcadeai/arcade-ai/tree/main/contrib/langchain
6
6
  License: MIT
7
- Author: Arcade AI
8
- Author-email: dev@arcade-ai.com
7
+ Author: Arcade
8
+ Author-email: dev@arcade.dev
9
9
  Requires-Python: >=3.10,<3.13
10
10
  Classifier: License :: OSI Approved :: MIT License
11
11
  Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Programming Language :: Python :: 3.10
13
13
  Classifier: Programming Language :: Python :: 3.11
14
14
  Classifier: Programming Language :: Python :: 3.12
15
- Requires-Dist: arcadepy (>=1.0.0,<2.0.0)
15
+ Requires-Dist: arcadepy (==1.1.*)
16
16
  Requires-Dist: langgraph (>=0.2.67,<0.3.0)
17
17
  Project-URL: Repository, https://github.com/arcadeai/arcade-ai/tree/main/contrib/langchain
18
18
  Description-Content-Type: text/markdown
@@ -20,12 +20,12 @@ Description-Content-Type: text/markdown
20
20
  <h3 align="center">
21
21
  <a name="readme-top"></a>
22
22
  <img
23
- src="https://docs.arcade-ai.com/images/logo/arcade-ai-logo.png"
23
+ src="https://docs.arcade.dev/images/logo/arcade-logo.png"
24
24
  >
25
25
  </h3>
26
26
  <div align="center">
27
- <h3>LangChain Integration</h3>
28
- <a href="https://github.com/arcadeai/arcade-ai/blob/main/LICENSE">
27
+ <h3>Arcade Langchain Integration</h3>
28
+ <a href="https://github.com/arcadeai/langchain-arcade/blob/main/LICENSE">
29
29
  <img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License">
30
30
  </a>
31
31
  <a href="https://pepy.tech/project/langchain-arcade">
@@ -35,16 +35,15 @@ Description-Content-Type: text/markdown
35
35
  </div>
36
36
 
37
37
  <p align="center">
38
- <a href="https://docs.arcade-ai.com" target="_blank">Docs</a> •
39
- <a href="https://docs.arcade-ai.com/integrations" target="_blank">Integrations</a> •
40
- <a href="https://github.com/ArcadeAI/cookbook" target="_blank">Cookbook</a> •
38
+ <a href="https://docs.arcade.dev" target="_blank">Arcade Documentation</a> •
39
+ <a href="https://docs.arcade.dev/toolkits" target="_blank">Toolkits</a> •
41
40
  <a href="https://github.com/ArcadeAI/arcade-py" target="_blank">Python Client</a> •
42
41
  <a href="https://github.com/ArcadeAI/arcade-js" target="_blank">JavaScript Client</a>
43
42
  </p>
44
43
 
45
44
  ## Overview
46
45
 
47
- `langchain-arcade` allows you to use Arcade AI tools in your LangChain and LangGraph applications.
46
+ `langchain-arcade` allows you to use Arcade tools in your LangChain and LangGraph applications.
48
47
 
49
48
  ## Installation
50
49
 
@@ -1,12 +1,12 @@
1
1
  <h3 align="center">
2
2
  <a name="readme-top"></a>
3
3
  <img
4
- src="https://docs.arcade-ai.com/images/logo/arcade-ai-logo.png"
4
+ src="https://docs.arcade.dev/images/logo/arcade-logo.png"
5
5
  >
6
6
  </h3>
7
7
  <div align="center">
8
- <h3>LangChain Integration</h3>
9
- <a href="https://github.com/arcadeai/arcade-ai/blob/main/LICENSE">
8
+ <h3>Arcade Langchain Integration</h3>
9
+ <a href="https://github.com/arcadeai/langchain-arcade/blob/main/LICENSE">
10
10
  <img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License">
11
11
  </a>
12
12
  <a href="https://pepy.tech/project/langchain-arcade">
@@ -16,16 +16,15 @@
16
16
  </div>
17
17
 
18
18
  <p align="center">
19
- <a href="https://docs.arcade-ai.com" target="_blank">Docs</a> •
20
- <a href="https://docs.arcade-ai.com/integrations" target="_blank">Integrations</a> •
21
- <a href="https://github.com/ArcadeAI/cookbook" target="_blank">Cookbook</a> •
19
+ <a href="https://docs.arcade.dev" target="_blank">Arcade Documentation</a> •
20
+ <a href="https://docs.arcade.dev/toolkits" target="_blank">Toolkits</a> •
22
21
  <a href="https://github.com/ArcadeAI/arcade-py" target="_blank">Python Client</a> •
23
22
  <a href="https://github.com/ArcadeAI/arcade-js" target="_blank">JavaScript Client</a>
24
23
  </p>
25
24
 
26
25
  ## Overview
27
26
 
28
- `langchain-arcade` allows you to use Arcade AI tools in your LangChain and LangGraph applications.
27
+ `langchain-arcade` allows you to use Arcade tools in your LangChain and LangGraph applications.
29
28
 
30
29
  ## Installation
31
30
 
@@ -200,14 +200,14 @@ class ArcadeToolManager:
200
200
  if toolkits:
201
201
  for tk in toolkits:
202
202
  # tools.list(...) returns a paginated response (SyncOffsetPage),
203
- # so we iterate over its items to accumulate tool definitions.
203
+ # which has an __iter__ method that automatically iterates over all pages.
204
204
  paginated_tools = self.client.tools.list(toolkit=tk)
205
- all_tools.extend(paginated_tools.items)
205
+ all_tools.extend(paginated_tools)
206
206
 
207
207
  # If no specific tools or toolkits were requested, retrieve *all* tools.
208
208
  if not tools and not toolkits:
209
209
  paginated_all_tools = self.client.tools.list()
210
- all_tools.extend(paginated_all_tools.items)
210
+ all_tools.extend(paginated_all_tools)
211
211
  # Build a dictionary that maps the "full_tool_name" to the tool definition.
212
212
  tool_definitions: dict[str, ToolDefinition] = {}
213
213
  for tool in all_tools:
@@ -1,15 +1,15 @@
1
1
  [tool.poetry]
2
2
  name = "langchain-arcade"
3
- version = "1.0.0"
4
- description = "An integration package connecting Arcade and LangChain/LangGraph"
5
- authors = ["Arcade AI <dev@arcade-ai.com>"]
3
+ version = "1.1.0"
4
+ description = "An integration package connecting Arcade and Langchain/LangGraph"
5
+ authors = ["Arcade <dev@arcade.dev>"]
6
6
  readme = "README.md"
7
7
  repository = "https://github.com/arcadeai/arcade-ai/tree/main/contrib/langchain"
8
8
  license = "MIT"
9
9
 
10
10
  [tool.poetry.dependencies]
11
11
  python = ">=3.10,<3.13"
12
- arcadepy = "^1.0.0"
12
+ arcadepy = "1.1.*"
13
13
  langgraph = ">=0.2.67,<0.3.0"
14
14
 
15
15