@devries-cameron20 / composio-1 / commits / 147856824
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

docs: python snippets (#1629)

Co-authored-by: balyan.sid@gmail.com <balyan.sid@gmail.com> Co-authored-by: Siddharth Balyan <52913345+alt-glitch@users.noreply.github.com>

Viraj committed Jun 13, 2025 at 04:04 UTC 147856824f0447077444973413ee81053f056e7b
17 files changed +377 -87
fern/docs.yml
+2 -2
@@ -232,8 +232,8 @@ navigation:
232 path: pages/providers/openai.mdx
233 - page: Anthropic Provider
234 path: pages/providers/anthropic.mdx
235 - - page: LangGraph Provider
236 - path: pages/providers/langgraph.mdx
235 + - page: LangChain Provider
236 + path: pages/providers/langchain.mdx
237 - page: CrewAI Provider
238 path: pages/providers/crewai.mdx
239 - page: Vercel AI SDK Provider
fern/pages/authentication/custom-auth-configs.mdx
+38 -6
@@ -6,8 +6,6 @@ keywords: ''
6 hide-nav-links: true
7 ---
8
9 -- [ ] change the callback URL to `/api/v3/toolkits/callback`
10 -
9 Many toolkits support a level of customisation for the auth config, specifically OAuth applications.
10
11 This guide will walk you through the process of customising the auth config for toolkits where you can configure the developer app.
@@ -73,7 +71,7 @@ Examples for Google and GitHub:
71 When creating your OAuth app, make sure to configure the Authorized Redirect URI to point to the Composio callback URL below:
72
73 ```
76 -https://backend.composio.dev/api/v1/auth-apps/add
74 +https://backend.composio.dev/api/v3/toolkits/callback
75 ```
76
77 </Step>
@@ -108,10 +106,19 @@ connReq.id
106
107 console.log(connection);
108
111 -````
109 +```
110 ```python Python maxLines=60
113 -````
114 -
111 +# Create a new connected account
112 +connection_request = composio.connected_accounts.initiate(
113 + user_id="user_id",
114 + auth_config_id="ac_1234",
115 +)
116 +print(connection_request)
117 +
118 +# Wait for the connection to be established
119 +connected_account = connection_request.wait_for_connection()
120 +print(connected_account)
121 +```
122 </CodeGroup>
123
124 ### White-labeling the OAuth Consent Screen
@@ -163,7 +170,32 @@ export default function handler(req: NextApiRequest, res: NextApiResponse) {
170 ```
171
172 ```python FastAPI (app.py)
173 +from fastapi import FastAPI
174 +from fastapi.responses import RedirectResponse
175 +
176 +from composio import Composio
177 +
178 +# Create a FastAPI app
179 +app = FastAPI()
180 +
181 +# Create a Composio client
182 +composio = Composio()
183 +
184 +
185 +@app.get("/authorize/{toolkit}")
186 +def authorize_app(toolkit: str):
187 + # retrieve the user id from your app
188 + user_id = ""
189 +
190 + # retrieve the auth config id from your app
191 + auth_config_id = ""
192
193 + # initiate the connection request
194 + connection_request = composio.connected_accounts.initiate(
195 + user_id=user_id,
196 + auth_config_id=auth_config_id,
197 + )
198 + return RedirectResponse(url=connection_request.redirect_url)
199 ```
200
201 </CodeGroup>
fern/pages/authentication/custom-auth-params.mdx
+3
@@ -21,6 +21,9 @@ const composio = new Composio({
21 });
22 ```
23 ```python Python maxLines=10
24 +from composio import Composio
25 +
26 +composio = Composio()
27 ```
28 </CodeGroup>
29
fern/pages/authentication/programmatic-auth-configs.mdx
+28 -3
@@ -29,7 +29,18 @@ console.log(authConfig);
29 ```
30
31 ```python Python maxLines=60 wordWrap
32 +from composio import Composio
33
34 +composio = Composio()
35 +
36 +# Use composio managed auth
37 +auth_config = composio.auth_configs.create(
38 + toolkit="github",
39 + options={
40 + "type": "use_composio_managed_auth",
41 + },
42 +)
43 +print(auth_config)
44 ```
45 </CodeGroup>
46
@@ -63,7 +74,21 @@ const authConfig = await composio.authConfigs.create("NOTION", {
74 console.log(authConfig);
75 ```
76 ```python Python maxLines=60 wordWrap
66 -
77 +# Use custom auth
78 +auth_config = composio.auth_configs.create(
79 + toolkit="notion",
80 + options={
81 + "name": "Notion Auth",
82 + "type": "use_custom_auth",
83 + "auth_scheme": "OAUTH2",
84 + "credentials": {
85 + "client_id": "1234567890",
86 + "client_secret": "1234567890",
87 + "oauth_redirect_uri": "https://backend.composio.dev/api/v1/auth-apps/add",
88 + },
89 + },
90 +)
91 +print(auth_config)
92 ```
93 </CodeGroup>
94
@@ -86,8 +111,8 @@ const authFields = toolkits.authConfigDetails?.flatMap(
111
112 console.log("Required auth config fields:", authFields);
113 ```
114 +{/* TODO: implement method which returns required fields for a toolkit with given auth scheme */}
115 ```python Python maxLines=60 wordWrap
90 -
116 ```
117 </CodeGroup>
118
@@ -131,8 +156,8 @@ const authConfig = await composio.authConfigs.create("NOTION", {
156 ),
157 });
158 ```
159 + {/* TODO: add once the above todo is addressed */}
160 ```python Python maxLines=60 wordWrap
135 -
161 ```
162 </CodeGroup>
163 </Accordion>
\ No newline at end of file
fern/pages/examples/src/sample-script/sample-script.py
+1 -1
@@ -1,3 +1,4 @@
1 +
2 from composio_core import Composio
3 from openai import OpenAI
4
@@ -16,7 +17,6 @@ userId = "your@email.com"
17
18 # Authorize and get tools for Gmail
19 connection, tools = composio.toolkits.authorize(userId, "gmail")
19 -
20 print(f"🔗 Visit the URL to authorize:\n👉 {connection.redirect_url}")
21
22 # Wait for the user to complete authorization
fern/pages/get-started/providers.mdx
+10
@@ -38,7 +38,10 @@ const composio = new Composio({
38
39 ```
40 ```python Python
41 +from composio import Composio
42 +from composio_openai import OpenAIProvider
43
44 +composio = Composio(provider=OpenAIProvider())
45 ```
46 </CodeGroup>
47 </Tab>
@@ -57,7 +60,10 @@ const composio = new Composio({
60 const anthropic = new Anthropic();
61 ```
62 ```python Python
63 +from composio import Composio
64 +from composio_anthropic import AnthropicProvider
65
66 +composio = Composio(provider=AnthropicProvider())
67 ```
68 </CodeGroup>
69 </Tab>
@@ -91,6 +97,10 @@ const composio = new Composio({
97 </Tab>
98 <Tab title="OpenAI Agents">
99 ```python Python
100 +from composio import Composio
101 +from composio_openai_agents import OpenAIAgentsProvider
102 +
103 +composio = Composio(provider=OpenAIAgentsProvider())
104 ```
105 </Tab>
106 </Tabs>
fern/pages/get-started/quickstart.mdx
+11 -16
@@ -48,7 +48,11 @@ const composio = new Composio({
48 });
49 ```
50 ```python Python
51 +from composio import Composio
52
53 +composio = Composio(
54 + # api_key="your-api-key",
55 +)
56 ```
57 </CodeGroup>
58
@@ -58,20 +62,18 @@ const composio = new Composio({
62 <Tab title="OpenAI (Python)">
63 Composio ships with support for OpenAI provider out of the box.
64 ```python maxLines=60
61 -import os
62 -from composio_core import Composio
65 +from composio import Composio
66 from openai import OpenAI
67
68 openai = OpenAI()
69 composio = Composio()
70
68 -userId = "your@email.com"
69 -
70 -connection = composio.toolkits.authorize(userId, "gmail")
71 -
71 +user_id = "your@email.com"
72 +connection_request = composio.toolkits.authorize(user_id, "gmail")
73 print(f"🔗 Visit the URL to authorize:\n👉 {connection.redirect_url}")
74
74 -connection.wait_for_connection()
75 +# wait for the connection to be active
76 +connection_request.wait_for_connection()
77
78 completion = openai.chat.completions.create(
79 model="gpt-4o",
@@ -84,8 +86,7 @@ completion = openai.chat.completions.create(
86 ],
87 tools=tools,
88 )
87 -
88 -result = composio.provider.handle_tool_call(userId, completion)
89 +result = composio.provider.handle_tool_call(user_id=user_id, response=completion)
90 print(result)
91 ```
92 </Tab>
@@ -108,15 +109,12 @@ const composio = new Composio({
109 });
110
111 const userId = "user@example.com";
111 -
112 const connection = await composio.toolkits.authorize(userId, "GITHUB");
113 -
113 console.log(
114 `🔗 Visit the URL to authorize:\n👉 ${connection.redirectUrl}`
115 );
116
117 await connection.waitForConnection();
119 -
118 const msg = await anthropic.messages.create({
119 model: "claude-3-7-sonnet-latest",
120 tools: tools,
@@ -130,7 +128,6 @@ const msg = await anthropic.messages.create({
128 });
129
130 const result = await composio.provider.handleToolCalls(userId, msg);
133 -
131 console.log("✅ Tool results:", result);
132 ```
133 </Tab>
@@ -150,20 +147,17 @@ import { VercelProvider } from "@composio/vercel";
147 import { v4 as uuidv4 } from "uuid";
148
149 const userId = uuidv4(); // The user's ID.
153 -
150 const composio = new Composio({
151 apiKey: process.env.COMPOSIO_API_KEY,
152 provider: new VercelProvider(),
153 });
154
155 const [connection, tools] = await composio.toolkits.authorize(userId, "gmail");
160 -
156 console.log(
157 `🔗 Visit the URL to authorize:\n👉 ${connection.redirectUrl}`
158 );
159
160 await connection.waitForConnection();
166 -
161 const { text } = await generateText({
162 model: anthropic("claude-3-7-sonnet-20250219"),
163 messages: [
@@ -187,6 +181,7 @@ You may install the OpenAI Agents provider as well!
181 pip install composio[openai-agents]
182 ```
183
184 +{/* TODO: discuss the feature properly */}
185 ```python maxLines=60
186
187 ```
fern/pages/get-started/welcome.mdx
-1
@@ -14,7 +14,6 @@ hide-nav-links: false
14 Give your AI IDE access to Composio's documentation using our llms.txt files: ([short .txt](/llms.txt), [long .txt](/llms-full.txt))
15 </Tip>
16
17 -
17 Composio is an integration and tooling platform built for AI agents and LLM applications that lets you:
18 - Add tool-use capabilities to your AI agent from [300+ apps](/tools/).
19 - Give agents [authenticated access to tools](/docs/custom-auth-configs).
fern/pages/providers/anthropic.mdx
+26 -1
@@ -39,7 +39,14 @@ const anthropic = new Anthropic();
39 ```
40
41 ```python Python maxLines=60 wordWrap
42 +import anthropic
43
44 +from composio import Composio
45 +from composio_anthropic import AnthropicProvider
46 +
47 +# Initialize tools.
48 +anthropic_client = anthropic.Anthropic()
49 +composio = Composio(provider=AnthropicProvider())
50 ```
51 </CodeGroup>
52
@@ -70,7 +77,25 @@ console.log(JSON.parse(res[0]).details);
77 ```
78
79 ```python Python maxLines=60 wordWrap
73 -
80 +# Define your user ID
81 +user_id = "default"
82 +
83 +# Get GitHub tools that are pre-configured
84 +tools = composio.tools.get(user_id=user_id, toolkits=["GITHUB"])
85 +
86 +# Get response from the LLM
87 +response = anthropic_client.messages.create(
88 + model="claude-3-opus-20240229",
89 + max_tokens=1024,
90 + tools=tools,
91 + messages=[
92 + {"role": "user", "content": "Star me composiohq/composio repo in github."},
93 + ],
94 +)
95 +
96 +# Execute the function calls.
97 +result = composio.provider.handle_tool_calls(user_id=user_id, response=response)
98 +print(result)
99 ```
100 </CodeGroup>
101
fern/pages/providers/crewai.mdx
+37 -2
@@ -23,10 +23,45 @@ pip install composio[crewai]
23 ## Usage
24
25 ```python Python maxLines=60 wordWrap
26 +from crewai import Agent, Crew, Task
27 +from langchain_openai import ChatOpenAI
28
27 -```
29 +from composio import Composio
30 +from composio_crewai import CrewAIProvider
31 +
32 +# Initialize tools.
33 +openai_client = ChatOpenAI()
34 +composio = Composio(provider=CrewAIProvider())
35 +
36 +# Get All the tools
37 +tools = composio.tools.get(user_id="default", toolkits=["GITHUB"])
38
29 -## Agentic Usage
39 +# Define agent
40 +crewai_agent = Agent(
41 + role="Github Agent",
42 + goal="""You take action on Github using Github APIs""",
43 + backstory=(
44 + "You are AI agent that is responsible for taking actions on Github "
45 + "on users behalf. You need to take action on Github using Github APIs"
46 + ),
47 + verbose=True,
48 + tools=tools,
49 + llm=openai_client,
50 +)
51
52 +# Define task
53 +task = Task(
54 + description=(
55 + "Star a repo composiohq/composio on GitHub, if the action is successful "
56 + "include Action executed successfully"
57 + ),
58 + agent=crewai_agent,
59 + expected_output="if the star happened",
60 +)
61 +
62 +my_crew = Crew(agents=[crewai_agent], tasks=[task])
63 +result = my_crew.kickoff()
64 +print(result)
65 +```
66
67 ## Modifiers
\ No newline at end of file
fern/pages/providers/langchain.mdx new
+46
@@ -0,0 +1,46 @@
1 +---
2 +title: LangChain Provider
3 +slug: /providers/langchain
4 +image: "https://og.composio.dev/api/og?title=LangChain%20Provider" # image for socials
5 +keywords: ""
6 +hide-nav-links: false
7 +---
8 +
9 +## Usage
10 +
11 +```python Python maxLines=60 wordWrap
12 +from composio import Composio
13 +from composio_langchain import LangchainProvider
14 +
15 +from langchain import hub # type: ignore
16 +from langchain.agents import AgentExecutor, create_openai_functions_agent
17 +from langchain_openai import ChatOpenAI
18 +
19 +
20 +# Pull relevant agent model.
21 +prompt = hub.pull("hwchase17/openai-functions-agent")
22 +
23 +# Initialize tools.
24 +openai_client = ChatOpenAI(model="gpt-4o")
25 +
26 +
27 +def main():
28 + composio = Composio(provider=LangchainProvider())
29 +
30 + # Get All the tools
31 + tools = composio.tools.get(user_id="default", toolkits=["GITHUB"])
32 +
33 + # Define task
34 + task = "Star a repo composiohq/composio on GitHub"
35 +
36 + # Define agent
37 + agent = create_openai_functions_agent(openai_client, tools, prompt)
38 + agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)
39 +
40 + # Execute using agent_executor
41 + agent_executor.invoke({"input": task})
42 +
43 +
44 +if __name__ == "__main__":
45 + main()
46 +```
\ No newline at end of file
fern/pages/providers/langgraph.mdx deleted
-11
@@ -1,11 +0,0 @@
1 ----
2 -title: LangGraph Provider
3 -slug: /providers/langgraph
4 -image: "https://og.composio.dev/api/og?title=LangGraph%20Provider" # image for socials
5 -keywords: ""
6 -hide-nav-links: false
7 ----
8 -
9 -## LangGraph Provider
10 -
11 -- [ ] Pending on Python SDK
\ No newline at end of file
fern/pages/providers/openai-agents.mdx
+40 -1
@@ -6,4 +6,43 @@ keywords: ""
6 hide-nav-links: false
7 ---
8
9 -## OpenAI Agents Provider
\ No newline at end of file
9 +## OpenAI Agents Provider
10 +
11 +### Usage
12 +```python Python maxLines=60 wordWrap
13 +import asyncio
14 +
15 +from agents import Agent, Runner
16 +
17 +from composio import Composio
18 +from composio_openai_agents import OpenAIAgentsProvider
19 +
20 +# Initialize Composio toolset
21 +composio = Composio(provider=OpenAIAgentsProvider())
22 +
23 +# Get all the tools
24 +tools = composio.tools.get(
25 + user_id="default",
26 + tools=["GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER"],
27 +)
28 +
29 +# Create an agent with the tools
30 +agent = Agent(
31 + name="GitHub Agent",
32 + instructions="You are a helpful assistant that helps users with GitHub tasks.",
33 + tools=tools,
34 +)
35 +
36 +# Run the agent
37 +async def main():
38 + result = await Runner.run(
39 + starting_agent=agent,
40 + input=(
41 + "Star the repository composiohq/composio on GitHub. If done "
42 + "successfully, respond with 'Action executed successfully'"
43 + ),
44 + )
45 + print(result.final_output)
46 +
47 +asyncio.run(main())
48 +```
\ No newline at end of file
fern/pages/providers/openai.mdx
+25 -1
@@ -36,6 +36,13 @@ const openai = new OpenAI();
36 ```
37
38 ```python
39 +from openai import OpenAI
40 +from composio import Composio
41 +from composio_openai import OpenAIProvider
42 +
43 +# Initialize tools.
44 +openai_client = OpenAI()
45 +composio = Composio(provider=OpenAIProvider())
46 ```
47 </CodeGroup>
48
@@ -72,7 +79,24 @@ const result = await composio.provider.handleToolCall(userId, completion);
79 console.log(result);
80 ```
81 ```python
75 -
82 +# Get GitHub tools that are pre-configured
83 +tools = composio.tools.get(user_id="default", toolkits=["GITHUB"])
84 +
85 +# Get response from the LLM
86 +response = openai_client.chat.completions.create(
87 + model="gpt-4o",
88 + tools=tools,
89 + messages=[
90 + {"role": "system", "content": "You are a helpful assistant."},
91 + {"role": "user", "content": task},
92 + ],
93 +)
94 +print(response)
95 +
96 +# Execute the function calls.
97 +# import ipdb; ipdb.set_trace()
98 +result = composio.provider.handle_tool_calls(response=response, user_id="default")
99 +print(result)
100 ```
101
102 </CodeGroup>
fern/pages/tool-calling/authenticating-tools.mdx
+34 -15
@@ -6,13 +6,6 @@ subtitle: 'Learn how to authenticate tools'
6 hide-nav-links: false
7 ---
8
9 -{/\* → Default Single Non Programatic Auth Config
10 -
11 -→ Connecting an Account (Oauth)
12 -
13 -→ Connecting an API Key (token based schemes)
14 -
15 -→ Redirecting your users \*/}
9
10 Different apps (like Slack, Notion, Shopify) have their own authentication flows that users must complete to grant access to their accounts. Agents need authenticated access to these tools to perform actions on behalf of users.
11
@@ -102,11 +95,25 @@ await connRequest.waitForConnection();
95 // In case the `connRequest` object dies, the ID can be used too.
96 await composio.connectedAccounts.waitForConnection(connRequest.id);
97
105 -````
98 +```
99 ```python Python maxLines=60 wordWrap
107 -
108 -````
109 -
100 +from composio import Composio
101 +
102 +linear_auth_config_id = "ac_1234"
103 +user_id = "user@email.com"
104 +composio = Composio()
105 +
106 +# Create a new connected account
107 +connection_request = composio.connected_accounts.initiate(
108 + user_id=user_id,
109 + auth_config_id=linear_auth_config_id,
110 +)
111 +print(connection_request.redirect_url)
112 +
113 +# Wait for the connection to be established
114 +connected_account = connection_request.wait_for_connection()
115 +print(connected_account)
116 +```
117 </CodeGroup>
118
119 ## Connecting to an API Key toolkit
@@ -131,11 +138,23 @@ apiKey: "sk_1234567890", // The field name for the API key/token
138 }
139 );
140
134 -````
141 +```
142 ```python Python maxLines=60 wordWrap
136 -
137 -````
138 -
143 +from composio.types import auth_scheme
144 +
145 +auth_config_id = "ac_1234"
146 +
147 +connection_request = composio.connected_accounts.initiate(
148 + user_id=user_id,
149 + auth_config_id=auth_config_id,
150 + config=auth_scheme.api_key(
151 + options={
152 + "api_key": "sk_1234567890",
153 + },
154 + ),
155 +)
156 +print(connection_request)
157 +```
158 </CodeGroup>
159
160 ### Fetching the field name
fern/pages/tool-calling/executing-tools.mdx
+33 -15
@@ -69,6 +69,8 @@ import { generateText } from "ai";
69 import { anthropic } from "@ai-sdk/anthropic";
70 import { VercelProvider } from "@composio/vercel";
71
72 +const userId = "0000";
73 +
74 const composio = new Composio({
75 apiKey: process.env.COMPOSIO_API_KEY,
76 provider: new VercelProvider(),
@@ -96,24 +98,40 @@ console.log(text);
98 ```
99
100 ```python Python (OpenAI Agents SDK)maxLines=60 wordWrap
99 -messages = [
100 - {"role": "system", "content": "You are a helpful assistant that can help with tasks."},
101 - {"role": "user", "content": "Fetch the details of the user 'pg'"}
102 -]
103 -
104 -response = openai.chat.completions.create(
105 - model="gpt-4o-mini",
106 - messages=messages,
101 +import asyncio
102 +from agents import Agent, Runner
103 +from composio import Composio
104 +from composio_openai_agents import OpenAIAgentsProvider
105 +
106 +user_id = "0000"
107 +
108 +# Initialize Composio toolset
109 +composio = Composio(provider=OpenAIAgentsProvider())
110 +
111 +# Get all the tools
112 +tools = composio.tools.get(
113 + user_id=user_id,
114 + tools=["GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER"],
115 +)
116 +
117 +# Create an agent with the tools
118 +agent = Agent(
119 + name="GitHub Agent",
120 + instructions="You are a helpful assistant.",
121 tools=tools,
108 - tool_choice="auto"
122 )
123
111 -if response.choices[0].message.tool_calls:
112 - tool_call = response.choices[0].message.tool_calls[0]
113 - print(f"✅ Calling tool {tool_call.function.name}")
114 - result = composio.provider.handle_tool_call(user_id, response)
115 - data = json.loads(result[0])
116 - print(data)
124 +# Run the agent
125 +async def main():
126 + result = await Runner.run(
127 + starting_agent=agent,
128 + input=(
129 + "Star the repository composiohq/composio on GitHub."
130 + ),
131 + )
132 + print(result.final_output)
133 +
134 +asyncio.run(main())
135 ```
136 </CodeGroup>
137
pnpm-lock.yaml
+43 -12
@@ -411,8 +411,8 @@ importers:
411 specifier: 0.1.0-alpha.17
412 version: 0.1.0-alpha.17
413 '@composio/json-schema-to-zod':
414 - specifier: 0.1.5
415 - version: 0.1.5
414 + specifier: 0.1.6
415 + version: 0.1.6
416 chalk:
417 specifier: ^5.4.1
418 version: 5.4.1
@@ -531,7 +531,7 @@ importers:
531 dependencies:
532 '@langchain/core':
533 specifier: ^0.3.44
534 - version: 0.3.58(openai@4.104.0(ws@8.18.2)(zod@3.25.62))
534 + version: 0.3.58(openai@4.104.0(zod@3.25.62))
535 devDependencies:
536 '@composio/core':
537 specifier: workspace:*
@@ -857,8 +857,8 @@ packages:
857 '@composio/client@0.1.0-alpha.17':
858 resolution: {integrity: sha512-iNCDSgdwfFVsjbbyZIMknMPy4uO8Xw5+MP2aI+yoQo34VXF17Fi6ZHYirrJPf8RbdoRROZTDJjC/rU18mMzC2Q==}
859
860 - '@composio/json-schema-to-zod@0.1.5':
861 - resolution: {integrity: sha512-7Ws2GQBgDrSsACKA6/IaqVJP4GaHCkSdxCAJ0c2XEOhI78Jm1cmC1QulL5gJRziaylO+3HiBFDKZA9L1hrmGOg==}
860 + '@composio/json-schema-to-zod@0.1.6':
861 + resolution: {integrity: sha512-Eso0rvvdCAxgcjejXXdyJsG4jB3ScUaxkrMaytG4B9Y6uwKJ/uxFrzWqRcwMl5wwQ7nd1vtpJUW/nzr8iRcQMg==}
862
863 '@esbuild/aix-ppc64@0.25.5':
864 resolution: {integrity: sha512-9o3TMmpmftaCMepOdA5k/yDw8SfInyzWWTjYTFCX3kPSDJMROQTb8jg+h9Cnwnmm1vOzvxN7gIfB5V2ewpjtGA==}
@@ -5250,7 +5250,7 @@ snapshots:
5250
5251 '@composio/client@0.1.0-alpha.17': {}
5252
5253 - '@composio/json-schema-to-zod@0.1.5':
5253 + '@composio/json-schema-to-zod@0.1.6':
5254 dependencies:
5255 '@types/json-schema': 7.0.15
5256 zod: 3.25.62
@@ -5471,14 +5471,14 @@ snapshots:
5471 transitivePeerDependencies:
5472 - openai
5473
5474 - '@langchain/core@0.3.58(openai@4.104.0(ws@8.18.2)(zod@3.25.62))':
5474 + '@langchain/core@0.3.58(openai@4.104.0(zod@3.25.62))':
5475 dependencies:
5476 '@cfworker/json-schema': 4.1.1
5477 ansi-styles: 5.2.0
5478 camelcase: 6.3.0
5479 decamelize: 1.2.0
5480 js-tiktoken: 1.0.20
5481 - langsmith: 0.3.31(openai@4.104.0(ws@8.18.2)(zod@3.25.62))
5481 + langsmith: 0.3.31(openai@4.104.0(zod@3.25.62))
5482 mustache: 4.2.0
5483 p-queue: 6.6.2
5484 p-retry: 4.6.2
@@ -6975,6 +6975,14 @@ snapshots:
6975 chai: 5.2.0
6976 tinyrainbow: 2.0.0
6977
6978 + '@vitest/mocker@3.2.3(vite@6.3.5(@types/node@20.19.0)(jiti@1.21.7)(tsx@4.20.1)(yaml@2.8.0))':
6979 + dependencies:
6980 + '@vitest/spy': 3.2.3
6981 + estree-walker: 3.0.3
6982 + magic-string: 0.30.17
6983 + optionalDependencies:
6984 + vite: 6.3.5(@types/node@20.19.0)(jiti@1.21.7)(tsx@4.20.1)(yaml@2.8.0)
6985 +
6986 '@vitest/mocker@3.2.3(vite@6.3.5(@types/node@22.15.31)(jiti@1.21.7)(tsx@4.20.1)(yaml@2.8.0))':
6987 dependencies:
6988 '@vitest/spy': 3.2.3
@@ -6983,6 +6991,14 @@ snapshots:
6991 optionalDependencies:
6992 vite: 6.3.5(@types/node@22.15.31)(jiti@1.21.7)(tsx@4.20.1)(yaml@2.8.0)
6993
6994 + '@vitest/mocker@3.2.3(vite@6.3.5(@types/node@24.0.1)(jiti@1.21.7)(tsx@4.20.1)(yaml@2.8.0))':
6995 + dependencies:
6996 + '@vitest/spy': 3.2.3
6997 + estree-walker: 3.0.3
6998 + magic-string: 0.30.17
6999 + optionalDependencies:
7000 + vite: 6.3.5(@types/node@24.0.1)(jiti@1.21.7)(tsx@4.20.1)(yaml@2.8.0)
7001 +
7002 '@vitest/pretty-format@3.2.3':
7003 dependencies:
7004 tinyrainbow: 2.0.0
@@ -8126,7 +8142,7 @@ snapshots:
8142 optionalDependencies:
8143 openai: 4.104.0(ws@8.18.2)(zod@3.25.32)
8144
8129 - langsmith@0.3.31(openai@4.104.0(ws@8.18.2)(zod@3.25.62)):
8145 + langsmith@0.3.31(openai@4.104.0(zod@3.25.62)):
8146 dependencies:
8147 '@types/uuid': 10.0.0
8148 chalk: 4.1.2
@@ -8136,7 +8152,7 @@ snapshots:
8152 semver: 7.7.2
8153 uuid: 10.0.0
8154 optionalDependencies:
8139 - openai: 4.104.0(ws@8.18.2)(zod@3.25.62)
8155 + openai: 4.104.0(zod@3.25.62)
8156
8157 levn@0.4.1:
8158 dependencies:
@@ -8384,6 +8400,21 @@ snapshots:
8400 transitivePeerDependencies:
8401 - encoding
8402
8403 + openai@4.104.0(zod@3.25.62):
8404 + dependencies:
8405 + '@types/node': 18.19.111
8406 + '@types/node-fetch': 2.6.12
8407 + abort-controller: 3.0.0
8408 + agentkeepalive: 4.6.0
8409 + form-data-encoder: 1.7.2
8410 + formdata-node: 4.4.1
8411 + node-fetch: 2.7.0
8412 + optionalDependencies:
8413 + zod: 3.25.62
8414 + transitivePeerDependencies:
8415 + - encoding
8416 + optional: true
8417 +
8418 openapi-types@12.1.3: {}
8419
8420 optionator@0.9.4:
@@ -9368,7 +9399,7 @@ snapshots:
9399 dependencies:
9400 '@types/chai': 5.2.2
9401 '@vitest/expect': 3.2.3
9371 - '@vitest/mocker': 3.2.3(vite@6.3.5(@types/node@22.15.31)(jiti@1.21.7)(tsx@4.20.1)(yaml@2.8.0))
9402 + '@vitest/mocker': 3.2.3(vite@6.3.5(@types/node@20.19.0)(jiti@1.21.7)(tsx@4.20.1)(yaml@2.8.0))
9403 '@vitest/pretty-format': 3.2.3
9404 '@vitest/runner': 3.2.3
9405 '@vitest/snapshot': 3.2.3
@@ -9452,7 +9483,7 @@ snapshots:
9483 dependencies:
9484 '@types/chai': 5.2.2
9485 '@vitest/expect': 3.2.3
9455 - '@vitest/mocker': 3.2.3(vite@6.3.5(@types/node@22.15.31)(jiti@1.21.7)(tsx@4.20.1)(yaml@2.8.0))
9486 + '@vitest/mocker': 3.2.3(vite@6.3.5(@types/node@24.0.1)(jiti@1.21.7)(tsx@4.20.1)(yaml@2.8.0))
9487 '@vitest/pretty-format': 3.2.3
9488 '@vitest/runner': 3.2.3
9489 '@vitest/snapshot': 3.2.3