Skip to content

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)

Viraj147856824f04
diff --git a/fern/docs.yml b/fern/docs.yml
index 24a147268..2edf73f39 100644
--- a/fern/docs.yml
+++ b/fern/docs.yml
@@ -232,8 +232,8 @@ navigation:
path: pages/providers/openai.mdx
- page: Anthropic Provider
path: pages/providers/anthropic.mdx
- - page: LangGraph Provider
- path: pages/providers/langgraph.mdx
+ - page: LangChain Provider
+ path: pages/providers/langchain.mdx
- page: CrewAI Provider
path: pages/providers/crewai.mdx
- page: Vercel AI SDK Provider
diff --git a/fern/pages/authentication/custom-auth-configs.mdx b/fern/pages/authentication/custom-auth-configs.mdx
index e48beaee0..6cc0e10dd 100644
--- a/fern/pages/authentication/custom-auth-configs.mdx
+++ b/fern/pages/authentication/custom-auth-configs.mdx
@@ -6,8 +6,6 @@ keywords: ''
hide-nav-links: true
---
-- [ ] change the callback URL to `/api/v3/toolkits/callback`
-
Many toolkits support a level of customisation for the auth config, specifically OAuth applications.
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:
When creating your OAuth app, make sure to configure the Authorized Redirect URI to point to the Composio callback URL below:
```
-https://backend.composio.dev/api/v1/auth-apps/add
+https://backend.composio.dev/api/v3/toolkits/callback
```
</Step>
@@ -108,10 +106,19 @@ connReq.id
console.log(connection);
-````
+```
```python Python maxLines=60
-````
-
+# Create a new connected account
+connection_request = composio.connected_accounts.initiate(
+ user_id="user_id",
+ auth_config_id="ac_1234",
+)
+print(connection_request)
+
+# Wait for the connection to be established
+connected_account = connection_request.wait_for_connection()
+print(connected_account)
+```
</CodeGroup>
### White-labeling the OAuth Consent Screen
@@ -163,7 +170,32 @@ export default function handler(req: NextApiRequest, res: NextApiResponse) {
```
```python FastAPI (app.py)
+from fastapi import FastAPI
+from fastapi.responses import RedirectResponse
+
+from composio import Composio
+
+# Create a FastAPI app
+app = FastAPI()
+
+# Create a Composio client
+composio = Composio()
+
+
[email protected]("/authorize/{toolkit}")
+def authorize_app(toolkit: str):
+ # retrieve the user id from your app
+ user_id = ""
+
+ # retrieve the auth config id from your app
+ auth_config_id = ""
+ # initiate the connection request
+ connection_request = composio.connected_accounts.initiate(
+ user_id=user_id,
+ auth_config_id=auth_config_id,
+ )
+ return RedirectResponse(url=connection_request.redirect_url)
```
</CodeGroup>
diff --git a/fern/pages/authentication/custom-auth-params.mdx b/fern/pages/authentication/custom-auth-params.mdx
index 2e56b1631..80eeea3b7 100644
--- a/fern/pages/authentication/custom-auth-params.mdx
+++ b/fern/pages/authentication/custom-auth-params.mdx
@@ -21,6 +21,9 @@ const composio = new Composio({
});
```
```python Python maxLines=10
+from composio import Composio
+
+composio = Composio()
```
</CodeGroup>
diff --git a/fern/pages/authentication/programmatic-auth-configs.mdx b/fern/pages/authentication/programmatic-auth-configs.mdx
index 5255bae75..f33911b73 100644
--- a/fern/pages/authentication/programmatic-auth-configs.mdx
+++ b/fern/pages/authentication/programmatic-auth-configs.mdx
@@ -29,7 +29,18 @@ console.log(authConfig);
```
```python Python maxLines=60 wordWrap
+from composio import Composio
+composio = Composio()
+
+# Use composio managed auth
+auth_config = composio.auth_configs.create(
+ toolkit="github",
+ options={
+ "type": "use_composio_managed_auth",
+ },
+)
+print(auth_config)
```
</CodeGroup>
@@ -63,7 +74,21 @@ const authConfig = await composio.authConfigs.create("NOTION", {
console.log(authConfig);
```
```python Python maxLines=60 wordWrap
-
+# Use custom auth
+auth_config = composio.auth_configs.create(
+ toolkit="notion",
+ options={
+ "name": "Notion Auth",
+ "type": "use_custom_auth",
+ "auth_scheme": "OAUTH2",
+ "credentials": {
+ "client_id": "1234567890",
+ "client_secret": "1234567890",
+ "oauth_redirect_uri": "https://backend.composio.dev/api/v1/auth-apps/add",
+ },
+ },
+)
+print(auth_config)
```
</CodeGroup>
@@ -86,8 +111,8 @@ const authFields = toolkits.authConfigDetails?.flatMap(
console.log("Required auth config fields:", authFields);
```
+{/* TODO: implement method which returns required fields for a toolkit with given auth scheme */}
```python Python maxLines=60 wordWrap
-
```
</CodeGroup>
@@ -131,8 +156,8 @@ const authConfig = await composio.authConfigs.create("NOTION", {
),
});
```
+ {/* TODO: add once the above todo is addressed */}
```python Python maxLines=60 wordWrap
-
```
</CodeGroup>
</Accordion>
\ No newline at end of file
diff --git a/fern/pages/examples/src/sample-script/sample-script.py b/fern/pages/examples/src/sample-script/sample-script.py
index 83f41fd41..426c5580a 100644
--- a/fern/pages/examples/src/sample-script/sample-script.py
+++ b/fern/pages/examples/src/sample-script/sample-script.py
@@ -1,3 +1,4 @@
+
from composio_core import Composio
from openai import OpenAI
@@ -16,7 +17,6 @@ userId = "[email protected]"
# Authorize and get tools for Gmail
connection, tools = composio.toolkits.authorize(userId, "gmail")
-
print(f"πŸ”— Visit the URL to authorize:\nπŸ‘‰ {connection.redirect_url}")
# Wait for the user to complete authorization
diff --git a/fern/pages/get-started/providers.mdx b/fern/pages/get-started/providers.mdx
index 3ffc90fcc..e0de5958c 100644
--- a/fern/pages/get-started/providers.mdx
+++ b/fern/pages/get-started/providers.mdx
@@ -38,7 +38,10 @@ const composio = new Composio({
```
```python Python
+from composio import Composio
+from composio_openai import OpenAIProvider
+composio = Composio(provider=OpenAIProvider())
```
</CodeGroup>
</Tab>
@@ -57,7 +60,10 @@ const composio = new Composio({
const anthropic = new Anthropic();
```
```python Python
+from composio import Composio
+from composio_anthropic import AnthropicProvider
+composio = Composio(provider=AnthropicProvider())
```
</CodeGroup>
</Tab>
@@ -91,6 +97,10 @@ const composio = new Composio({
</Tab>
<Tab title="OpenAI Agents">
```python Python
+from composio import Composio
+from composio_openai_agents import OpenAIAgentsProvider
+
+composio = Composio(provider=OpenAIAgentsProvider())
```
</Tab>
</Tabs>
diff --git a/fern/pages/get-started/quickstart.mdx b/fern/pages/get-started/quickstart.mdx
index acc7c2e0b..40698f74c 100644
--- a/fern/pages/get-started/quickstart.mdx
+++ b/fern/pages/get-started/quickstart.mdx
@@ -48,7 +48,11 @@ const composio = new Composio({
});
```
```python Python
+from composio import Composio
+composio = Composio(
+ # api_key="your-api-key",
+)
```
</CodeGroup>
@@ -58,20 +62,18 @@ const composio = new Composio({
<Tab title="OpenAI (Python)">
Composio ships with support for OpenAI provider out of the box.
```python maxLines=60
-import os
-from composio_core import Composio
+from composio import Composio
from openai import OpenAI
openai = OpenAI()
composio = Composio()
-userId = "[email protected]"
-
-connection = composio.toolkits.authorize(userId, "gmail")
-
+user_id = "[email protected]"
+connection_request = composio.toolkits.authorize(user_id, "gmail")
print(f"πŸ”— Visit the URL to authorize:\nπŸ‘‰ {connection.redirect_url}")
-connection.wait_for_connection()
+# wait for the connection to be active
+connection_request.wait_for_connection()
completion = openai.chat.completions.create(
model="gpt-4o",
@@ -84,8 +86,7 @@ completion = openai.chat.completions.create(
],
tools=tools,
)
-
-result = composio.provider.handle_tool_call(userId, completion)
+result = composio.provider.handle_tool_call(user_id=user_id, response=completion)
print(result)
```
</Tab>
@@ -108,15 +109,12 @@ const composio = new Composio({
});
const userId = "[email protected]";
-
const connection = await composio.toolkits.authorize(userId, "GITHUB");
-
console.log(
`πŸ”— Visit the URL to authorize:\nπŸ‘‰ ${connection.redirectUrl}`
);
await connection.waitForConnection();
-
const msg = await anthropic.messages.create({
model: "claude-3-7-sonnet-latest",
tools: tools,
@@ -130,7 +128,6 @@ const msg = await anthropic.messages.create({
});
const result = await composio.provider.handleToolCalls(userId, msg);
-
console.log("βœ… Tool results:", result);
```
</Tab>
@@ -150,20 +147,17 @@ import { VercelProvider } from "@composio/vercel";
import { v4 as uuidv4 } from "uuid";
const userId = uuidv4(); // The user's ID.
-
const composio = new Composio({
apiKey: process.env.COMPOSIO_API_KEY,
provider: new VercelProvider(),
});
const [connection, tools] = await composio.toolkits.authorize(userId, "gmail");
-
console.log(
`πŸ”— Visit the URL to authorize:\nπŸ‘‰ ${connection.redirectUrl}`
);
await connection.waitForConnection();
-
const { text } = await generateText({
model: anthropic("claude-3-7-sonnet-20250219"),
messages: [
@@ -187,6 +181,7 @@ You may install the OpenAI Agents provider as well!
pip install composio[openai-agents]
```
+{/* TODO: discuss the feature properly */}
```python maxLines=60
```
diff --git a/fern/pages/get-started/welcome.mdx b/fern/pages/get-started/welcome.mdx
index 1c06cbd04..b6ccdb48d 100644
--- a/fern/pages/get-started/welcome.mdx
+++ b/fern/pages/get-started/welcome.mdx
@@ -14,7 +14,6 @@ hide-nav-links: false
Give your AI IDE access to Composio's documentation using our llms.txt files: ([short .txt](/llms.txt), [long .txt](/llms-full.txt))
</Tip>
-
Composio is an integration and tooling platform built for AI agents and LLM applications that lets you:
- Add tool-use capabilities to your AI agent from [300+ apps](/tools/).
- Give agents [authenticated access to tools](/docs/custom-auth-configs).
diff --git a/fern/pages/providers/anthropic.mdx b/fern/pages/providers/anthropic.mdx
index 988cbaa78..6854edb31 100644
--- a/fern/pages/providers/anthropic.mdx
+++ b/fern/pages/providers/anthropic.mdx
@@ -39,7 +39,14 @@ const anthropic = new Anthropic();
```
```python Python maxLines=60 wordWrap
+import anthropic
+from composio import Composio
+from composio_anthropic import AnthropicProvider
+
+# Initialize tools.
+anthropic_client = anthropic.Anthropic()
+composio = Composio(provider=AnthropicProvider())
```
</CodeGroup>
@@ -70,7 +77,25 @@ console.log(JSON.parse(res[0]).details);
```
```python Python maxLines=60 wordWrap
-
+# Define your user ID
+user_id = "default"
+
+# Get GitHub tools that are pre-configured
+tools = composio.tools.get(user_id=user_id, toolkits=["GITHUB"])
+
+# Get response from the LLM
+response = anthropic_client.messages.create(
+ model="claude-3-opus-20240229",
+ max_tokens=1024,
+ tools=tools,
+ messages=[
+ {"role": "user", "content": "Star me composiohq/composio repo in github."},
+ ],
+)
+
+# Execute the function calls.
+result = composio.provider.handle_tool_calls(user_id=user_id, response=response)
+print(result)
```
</CodeGroup>
diff --git a/fern/pages/providers/crewai.mdx b/fern/pages/providers/crewai.mdx
index 911580076..48ae8bd3c 100644
--- a/fern/pages/providers/crewai.mdx
+++ b/fern/pages/providers/crewai.mdx
@@ -23,10 +23,45 @@ pip install composio[crewai]
## Usage
```python Python maxLines=60 wordWrap
+from crewai import Agent, Crew, Task
+from langchain_openai import ChatOpenAI
-```
+from composio import Composio
+from composio_crewai import CrewAIProvider
+
+# Initialize tools.
+openai_client = ChatOpenAI()
+composio = Composio(provider=CrewAIProvider())
+
+# Get All the tools
+tools = composio.tools.get(user_id="default", toolkits=["GITHUB"])
-## Agentic Usage
+# Define agent
+crewai_agent = Agent(
+ role="Github Agent",
+ goal="""You take action on Github using Github APIs""",
+ backstory=(
+ "You are AI agent that is responsible for taking actions on Github "
+ "on users behalf. You need to take action on Github using Github APIs"
+ ),
+ verbose=True,
+ tools=tools,
+ llm=openai_client,
+)
+# Define task
+task = Task(
+ description=(
+ "Star a repo composiohq/composio on GitHub, if the action is successful "
+ "include Action executed successfully"
+ ),
+ agent=crewai_agent,
+ expected_output="if the star happened",
+)
+
+my_crew = Crew(agents=[crewai_agent], tasks=[task])
+result = my_crew.kickoff()
+print(result)
+```
## Modifiers
\ No newline at end of file
diff --git a/fern/pages/providers/langchain.mdx b/fern/pages/providers/langchain.mdx
new file mode 100644
index 000000000..168735190
--- /dev/null
+++ b/fern/pages/providers/langchain.mdx
@@ -0,0 +1,46 @@
+---
+title: LangChain Provider
+slug: /providers/langchain
+image: "https://og.composio.dev/api/og?title=LangChain%20Provider" # image for socials
+keywords: ""
+hide-nav-links: false
+---
+
+## Usage
+
+```python Python maxLines=60 wordWrap
+from composio import Composio
+from composio_langchain import LangchainProvider
+
+from langchain import hub # type: ignore
+from langchain.agents import AgentExecutor, create_openai_functions_agent
+from langchain_openai import ChatOpenAI
+
+
+# Pull relevant agent model.
+prompt = hub.pull("hwchase17/openai-functions-agent")
+
+# Initialize tools.
+openai_client = ChatOpenAI(model="gpt-4o")
+
+
+def main():
+ composio = Composio(provider=LangchainProvider())
+
+ # Get All the tools
+ tools = composio.tools.get(user_id="default", toolkits=["GITHUB"])
+
+ # Define task
+ task = "Star a repo composiohq/composio on GitHub"
+
+ # Define agent
+ agent = create_openai_functions_agent(openai_client, tools, prompt)
+ agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)
+
+ # Execute using agent_executor
+ agent_executor.invoke({"input": task})
+
+
+if __name__ == "__main__":
+ main()
+```
\ No newline at end of file
diff --git a/fern/pages/providers/langgraph.mdx b/fern/pages/providers/langgraph.mdx
deleted file mode 100644
index e299eec1a..000000000
--- a/fern/pages/providers/langgraph.mdx
+++ /dev/null
@@ -1,11 +0,0 @@
----
-title: LangGraph Provider
-slug: /providers/langgraph
-image: "https://og.composio.dev/api/og?title=LangGraph%20Provider" # image for socials
-keywords: ""
-hide-nav-links: false
----
-
-## LangGraph Provider
-
-- [ ] Pending on Python SDK
\ No newline at end of file
diff --git a/fern/pages/providers/openai-agents.mdx b/fern/pages/providers/openai-agents.mdx
index 22090dc92..cf15c4b47 100644
--- a/fern/pages/providers/openai-agents.mdx
+++ b/fern/pages/providers/openai-agents.mdx
@@ -6,4 +6,43 @@ keywords: ""
hide-nav-links: false
---
-## OpenAI Agents Provider
\ No newline at end of file
+## OpenAI Agents Provider
+
+### Usage
+```python Python maxLines=60 wordWrap
+import asyncio
+
+from agents import Agent, Runner
+
+from composio import Composio
+from composio_openai_agents import OpenAIAgentsProvider
+
+# Initialize Composio toolset
+composio = Composio(provider=OpenAIAgentsProvider())
+
+# Get all the tools
+tools = composio.tools.get(
+ user_id="default",
+ tools=["GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER"],
+)
+
+# Create an agent with the tools
+agent = Agent(
+ name="GitHub Agent",
+ instructions="You are a helpful assistant that helps users with GitHub tasks.",
+ tools=tools,
+)
+
+# Run the agent
+async def main():
+ result = await Runner.run(
+ starting_agent=agent,
+ input=(
+ "Star the repository composiohq/composio on GitHub. If done "
+ "successfully, respond with 'Action executed successfully'"
+ ),
+ )
+ print(result.final_output)
+
+asyncio.run(main())
+```
\ No newline at end of file
diff --git a/fern/pages/providers/openai.mdx b/fern/pages/providers/openai.mdx
index 01f6802ba..59cc3c158 100644
--- a/fern/pages/providers/openai.mdx
+++ b/fern/pages/providers/openai.mdx
@@ -36,6 +36,13 @@ const openai = new OpenAI();
```
```python
+from openai import OpenAI
+from composio import Composio
+from composio_openai import OpenAIProvider
+
+# Initialize tools.
+openai_client = OpenAI()
+composio = Composio(provider=OpenAIProvider())
```
</CodeGroup>
@@ -72,7 +79,24 @@ const result = await composio.provider.handleToolCall(userId, completion);
console.log(result);
```
```python
-
+# Get GitHub tools that are pre-configured
+tools = composio.tools.get(user_id="default", toolkits=["GITHUB"])
+
+# Get response from the LLM
+response = openai_client.chat.completions.create(
+ model="gpt-4o",
+ tools=tools,
+ messages=[
+ {"role": "system", "content": "You are a helpful assistant."},
+ {"role": "user", "content": task},
+ ],
+)
+print(response)
+
+# Execute the function calls.
+# import ipdb; ipdb.set_trace()
+result = composio.provider.handle_tool_calls(response=response, user_id="default")
+print(result)
```
</CodeGroup>
diff --git a/fern/pages/tool-calling/authenticating-tools.mdx b/fern/pages/tool-calling/authenticating-tools.mdx
index db3d87c9a..ad98bf7cb 100644
--- a/fern/pages/tool-calling/authenticating-tools.mdx
+++ b/fern/pages/tool-calling/authenticating-tools.mdx
@@ -6,13 +6,6 @@ subtitle: 'Learn how to authenticate tools'
hide-nav-links: false
---
-{/\* β†’ Default Single Non Programatic Auth Config
-
-β†’ Connecting an Account (Oauth)
-
-β†’ Connecting an API Key (token based schemes)
-
-β†’ Redirecting your users \*/}
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.
@@ -102,11 +95,25 @@ await connRequest.waitForConnection();
// In case the `connRequest` object dies, the ID can be used too.
await composio.connectedAccounts.waitForConnection(connRequest.id);
-````
+```
```python Python maxLines=60 wordWrap
-
-````
-
+from composio import Composio
+
+linear_auth_config_id = "ac_1234"
+user_id = "[email protected]"
+composio = Composio()
+
+# Create a new connected account
+connection_request = composio.connected_accounts.initiate(
+ user_id=user_id,
+ auth_config_id=linear_auth_config_id,
+)
+print(connection_request.redirect_url)
+
+# Wait for the connection to be established
+connected_account = connection_request.wait_for_connection()
+print(connected_account)
+```
</CodeGroup>
## Connecting to an API Key toolkit
@@ -131,11 +138,23 @@ apiKey: "sk_1234567890", // The field name for the API key/token
}
);
-````
+```
```python Python maxLines=60 wordWrap
-
-````
-
+from composio.types import auth_scheme
+
+auth_config_id = "ac_1234"
+
+connection_request = composio.connected_accounts.initiate(
+ user_id=user_id,
+ auth_config_id=auth_config_id,
+ config=auth_scheme.api_key(
+ options={
+ "api_key": "sk_1234567890",
+ },
+ ),
+)
+print(connection_request)
+```
</CodeGroup>
### Fetching the field name
diff --git a/fern/pages/tool-calling/executing-tools.mdx b/fern/pages/tool-calling/executing-tools.mdx
index 5c996a6ea..ff1834693 100644
--- a/fern/pages/tool-calling/executing-tools.mdx
+++ b/fern/pages/tool-calling/executing-tools.mdx
@@ -69,6 +69,8 @@ import { generateText } from "ai";
import { anthropic } from "@ai-sdk/anthropic";
import { VercelProvider } from "@composio/vercel";
+const userId = "0000";
+
const composio = new Composio({
apiKey: process.env.COMPOSIO_API_KEY,
provider: new VercelProvider(),
@@ -96,24 +98,40 @@ console.log(text);
```
```python Python (OpenAI Agents SDK)maxLines=60 wordWrap
-messages = [
- {"role": "system", "content": "You are a helpful assistant that can help with tasks."},
- {"role": "user", "content": "Fetch the details of the user 'pg'"}
-]
-
-response = openai.chat.completions.create(
- model="gpt-4o-mini",
- messages=messages,
+import asyncio
+from agents import Agent, Runner
+from composio import Composio
+from composio_openai_agents import OpenAIAgentsProvider
+
+user_id = "0000"
+
+# Initialize Composio toolset
+composio = Composio(provider=OpenAIAgentsProvider())
+
+# Get all the tools
+tools = composio.tools.get(
+ user_id=user_id,
+ tools=["GITHUB_STAR_A_REPOSITORY_FOR_THE_AUTHENTICATED_USER"],
+)
+
+# Create an agent with the tools
+agent = Agent(
+ name="GitHub Agent",
+ instructions="You are a helpful assistant.",
tools=tools,
- tool_choice="auto"
)
-if response.choices[0].message.tool_calls:
- tool_call = response.choices[0].message.tool_calls[0]
- print(f"βœ… Calling tool {tool_call.function.name}")
- result = composio.provider.handle_tool_call(user_id, response)
- data = json.loads(result[0])
- print(data)
+# Run the agent
+async def main():
+ result = await Runner.run(
+ starting_agent=agent,
+ input=(
+ "Star the repository composiohq/composio on GitHub."
+ ),
+ )
+ print(result.final_output)
+
+asyncio.run(main())
```
</CodeGroup>
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 08cb3f48f..e95964769 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -411,8 +411,8 @@ importers:
specifier: 0.1.0-alpha.17
version: 0.1.0-alpha.17
'@composio/json-schema-to-zod':
- specifier: 0.1.5
- version: 0.1.5
+ specifier: 0.1.6
+ version: 0.1.6
chalk:
specifier: ^5.4.1
version: 5.4.1
@@ -531,7 +531,7 @@ importers:
dependencies:
'@langchain/core':
specifier: ^0.3.44
devDependencies:
'@composio/core':
specifier: workspace:*
@@ -857,8 +857,8 @@ packages:
'@composio/[email protected]':
resolution: {integrity: sha512-iNCDSgdwfFVsjbbyZIMknMPy4uO8Xw5+MP2aI+yoQo34VXF17Fi6ZHYirrJPf8RbdoRROZTDJjC/rU18mMzC2Q==}
- '@composio/[email protected]':
- resolution: {integrity: sha512-7Ws2GQBgDrSsACKA6/IaqVJP4GaHCkSdxCAJ0c2XEOhI78Jm1cmC1QulL5gJRziaylO+3HiBFDKZA9L1hrmGOg==}
+ '@composio/[email protected]':
+ resolution: {integrity: sha512-Eso0rvvdCAxgcjejXXdyJsG4jB3ScUaxkrMaytG4B9Y6uwKJ/uxFrzWqRcwMl5wwQ7nd1vtpJUW/nzr8iRcQMg==}
'@esbuild/[email protected]':
resolution: {integrity: sha512-9o3TMmpmftaCMepOdA5k/yDw8SfInyzWWTjYTFCX3kPSDJMROQTb8jg+h9Cnwnmm1vOzvxN7gIfB5V2ewpjtGA==}
@@ -5250,7 +5250,7 @@ snapshots:
'@composio/[email protected]': {}
- '@composio/[email protected]':
+ '@composio/[email protected]':
dependencies:
'@types/json-schema': 7.0.15
zod: 3.25.62
@@ -5471,14 +5471,14 @@ snapshots:
transitivePeerDependencies:
- openai
dependencies:
'@cfworker/json-schema': 4.1.1
ansi-styles: 5.2.0
camelcase: 6.3.0
decamelize: 1.2.0
js-tiktoken: 1.0.20
mustache: 4.2.0
p-queue: 6.6.2
p-retry: 4.6.2
@@ -6975,6 +6975,14 @@ snapshots:
chai: 5.2.0
tinyrainbow: 2.0.0
+ dependencies:
+ '@vitest/spy': 3.2.3
+ estree-walker: 3.0.3
+ magic-string: 0.30.17
+ optionalDependencies:
+
dependencies:
'@vitest/spy': 3.2.3
@@ -6983,6 +6991,14 @@ snapshots:
optionalDependencies:
+ dependencies:
+ '@vitest/spy': 3.2.3
+ estree-walker: 3.0.3
+ magic-string: 0.30.17
+ optionalDependencies:
+
'@vitest/[email protected]':
dependencies:
tinyrainbow: 2.0.0
@@ -8126,7 +8142,7 @@ snapshots:
optionalDependencies:
dependencies:
'@types/uuid': 10.0.0
chalk: 4.1.2
@@ -8136,7 +8152,7 @@ snapshots:
semver: 7.7.2
uuid: 10.0.0
optionalDependencies:
+ openai: 4.104.0([email protected])
dependencies:
@@ -8384,6 +8400,21 @@ snapshots:
transitivePeerDependencies:
- encoding
+ dependencies:
+ '@types/node': 18.19.111
+ '@types/node-fetch': 2.6.12
+ abort-controller: 3.0.0
+ agentkeepalive: 4.6.0
+ form-data-encoder: 1.7.2
+ formdata-node: 4.4.1
+ node-fetch: 2.7.0
+ optionalDependencies:
+ zod: 3.25.62
+ transitivePeerDependencies:
+ - encoding
+ optional: true
+
@@ -9368,7 +9399,7 @@ snapshots:
dependencies:
'@types/chai': 5.2.2
'@vitest/expect': 3.2.3
'@vitest/pretty-format': 3.2.3
'@vitest/runner': 3.2.3
'@vitest/snapshot': 3.2.3
@@ -9452,7 +9483,7 @@ snapshots:
dependencies:
'@types/chai': 5.2.2
'@vitest/expect': 3.2.3
'@vitest/pretty-format': 3.2.3
'@vitest/runner': 3.2.3
'@vitest/snapshot': 3.2.3