Skip to content

Commit 9637df0

Browse files
committed
Update composio package dependencies
1 parent c47757f commit 9637df0

File tree

5 files changed

+37
-33
lines changed

5 files changed

+37
-33
lines changed

composio/package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,9 @@
2525
"@restackio/ai": "0.0.86",
2626
"@temporalio/workflow": "1.11.2",
2727
"dotenv": "16.4.5",
28-
"composio-core": "0.2.9-8",
29-
"install": "^0.13.0"
28+
"composio-core": "0.2.9-10-1",
29+
"install": "^0.13.0",
30+
"openai": "4.73.1"
3031
},
3132
"devDependencies": {
3233
"@restackio/cloud": "1.0.21",

composio/pnpm-lock.yaml

+29-26
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

composio/src/functions/composio/createCalendarEvent.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ export async function createCalendarEvent({
2626
toolChoice: "auto",
2727
});
2828

29-
await composioOpenAiClient.handleToolCall(result);
29+
return composioOpenAiClient.handleToolCall(result);
3030
}

composio/src/functions/composio/getEntityConnections.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ export async function getEntityConnections({
88
composioApiKey?: string;
99
}) {
1010
const toolSetClient = openAiToolsetClient({ composioApiKey, entityId });
11-
const connections = await toolSetClient.client.connectedAccounts.list();
11+
const connections = await toolSetClient.client.connectedAccounts.list({});
1212
return connections;
13-
}
13+
}

composio/src/workflows/createCalendarEvent.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ export async function createCalendarEventWorkflow({
2222
return connection;
2323
}
2424

25-
await step<typeof functions>({
25+
const calendarEvent = await step<typeof functions>({
2626
taskQueue: "composio",
2727
}).createCalendarEvent({
2828
entityId,
2929
calendarInstruction,
3030
});
3131

32-
return true;
32+
return calendarEvent;
3333
}

0 commit comments

Comments
 (0)