Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Add openai toolset as default toolset
haxzie committed
Apr 21, 2025 at 20:09 UTC
ccf9136c9de5c75517b715acbde897cc08f4cae6
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";