@devries-cameron20 / composio Mirror · read-only / commits / 2d79581bd
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.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 23, 04:15 UTC

Add openai toolset as default toolset

haxzie committed Apr 21, 2025 at 20:09 UTC 2d79581bdc7c198d8757d475ae2cc15eb5ab18b2
1 file changed +2 -2
packages/core/src/composio.ts
+2 -2
@@ -17,7 +17,7 @@ import { checkForLatestVersionFromNPM } from "./utils/version";
17 import { OpenAIToolset } from "./toolset/OpenAIToolset";
18
19
20 -export type ComposioConfig<TToolset extends BaseComposioToolset<any, any>> = {
20 +export type ComposioConfig<TToolset extends BaseComposioToolset<any, any> = OpenAIToolset> = {
21 apiKey?: string;
22 baseURL?: string;
23 allowTracking?: boolean;
@@ -32,7 +32,7 @@ export type ComposioConfig<TToolset extends BaseComposioToolset<any, any>> = {
32 * This is the core class for Composio.
33 * It is used to initialize the Composio SDK and provide a global configuration.
34 */
35 -export class Composio<TToolset extends BaseComposioToolset<any, any>> {
35 +export class Composio<TToolset extends BaseComposioToolset<any, any> = OpenAIToolset> {
36
37 private readonly DEFAULT_USER_ID = "default";
38 readonly FILE_NAME = "core/composio.ts";