langchain-arcade 0.1.1__tar.gz → 0.1.2__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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: langchain-arcade
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: An integration package connecting Arcade AI and LangChain/LangGraph
5
5
  Home-page: https://github.com/arcadeai/arcade-ai/tree/main/contrib/langchain
6
6
  License: MIT
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 3.10
13
13
  Classifier: Programming Language :: Python :: 3.11
14
14
  Classifier: Programming Language :: Python :: 3.12
15
15
  Provides-Extra: langgraph
16
- Requires-Dist: arcadepy (>=0.1.1,<0.2.0)
16
+ Requires-Dist: arcadepy (>=0.1.2,<0.2.0)
17
17
  Requires-Dist: langchain-core (>=0.3.0,<0.4.0)
18
18
  Requires-Dist: langgraph (>=0.2.32,<0.3.0) ; extra == "langgraph"
19
19
  Project-URL: Repository, https://github.com/arcadeai/arcade-ai/tree/main/contrib/langchain
@@ -46,7 +46,7 @@ Description-Content-Type: text/markdown
46
46
 
47
47
  ## Overview
48
48
 
49
- `arcade-langchain` allows you to use Arcade AI tools in your LangChain and LangGraph applications.
49
+ `langchain-arcade` allows you to use Arcade AI tools in your LangChain and LangGraph applications.
50
50
 
51
51
  ## Installation
52
52
 
@@ -25,7 +25,7 @@
25
25
 
26
26
  ## Overview
27
27
 
28
- `arcade-langchain` allows you to use Arcade AI tools in your LangChain and LangGraph applications.
28
+ `langchain-arcade` allows you to use Arcade AI tools in your LangChain and LangGraph applications.
29
29
 
30
30
  ## Installation
31
31
 
@@ -140,7 +140,7 @@ class ArcadeToolManager:
140
140
 
141
141
  Example:
142
142
  >>> manager = ArcadeToolManager(api_key="...")
143
- >>> manager.init_tools(tools=["Searc"])
143
+ >>> manager.init_tools(toolkits=["Search"])
144
144
  >>> manager.is_authorized("auth_123")
145
145
  """
146
146
  return self.client.auth.status(authorization_id=authorization_id).status == "completed"
@@ -172,7 +172,8 @@ class ArcadeToolManager:
172
172
  all_tools.extend(self.client.tools.list(toolkit=tk))
173
173
  else:
174
174
  # retrieve all tools
175
- all_tools = self.client.tools.list().items
175
+ page_iterator = self.client.tools.list()
176
+ all_tools.extend(page_iterator)
176
177
 
177
178
  tool_definitions: dict[str, ToolDefinition] = {}
178
179
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "langchain-arcade"
3
- version = "0.1.1"
3
+ version = "0.1.2"
4
4
  description = "An integration package connecting Arcade AI and LangChain/LangGraph"
5
5
  authors = ["Arcade AI <dev@arcade-ai.com>"]
6
6
  readme = "README.md"
@@ -10,7 +10,7 @@ license = "MIT"
10
10
  [tool.poetry.dependencies]
11
11
  python = ">=3.10,<3.13"
12
12
  langchain-core = "^0.3.0"
13
- arcadepy = "~0.1.1"
13
+ arcadepy = "~0.1.2"
14
14
  langgraph = {version = ">=0.2.32,<0.3.0", optional = true}
15
15
 
16
16
  [tool.poetry.extras]