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.

Update API keys

haxzie1d464edf25be
diff --git a/examples/openai/.env.example b/examples/openai/.env.example
new file mode 100644
index 000000000..ad0f7ed62
--- /dev/null
+++ b/examples/openai/.env.example
@@ -0,0 +1,2 @@
+COMPOSIO_API_KEY=
+OPENAI_API_KEY=
\ No newline at end of file
diff --git a/examples/openai/src/index.ts b/examples/openai/src/index.ts
index de0fe2b0a..7c80be8ae 100644
--- a/examples/openai/src/index.ts
+++ b/examples/openai/src/index.ts
@@ -15,9 +15,6 @@ const composio = new Composio({
// these tools are automatically typed and wrapped with the OpenAI Toolset
const tool = await composio.getTool("HACKERNEWS_GET_USER");
-await composio.toolset.getTool("HACKERNEWS_GET_USER");
-
-
const task = "Fetch the details of the user 'haxzie'";
const messages: OpenAI.ChatCompletionMessageParam[] = [