Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
Update API keys
haxzie1d464edf25be
diff --git a/examples/openai/.env.example b/examples/openai/.env.examplenew file mode 100644index 000000000..ad0f7ed62--- /dev/null+++ b/examples/openai/.env.example@@ -0,0 +1,2 @@+COMPOSIO_API_KEY=+OPENAI_API_KEY=\ No newline at end of filediff --git a/examples/openai/src/index.ts b/examples/openai/src/index.tsindex 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 Toolsetconst 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[] = [