Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(composio): handle missing API key in onboarding step

Steven Enamakel6478400811cc
diff --git a/app/src/pages/onboarding/steps/__tests__/ApiKeysStep.test.tsx b/app/src/pages/onboarding/steps/__tests__/ApiKeysStep.test.tsx
index 2171105052..c98eddb574 100644
--- a/app/src/pages/onboarding/steps/__tests__/ApiKeysStep.test.tsx
+++ b/app/src/pages/onboarding/steps/__tests__/ApiKeysStep.test.tsx
@@ -87,9 +87,7 @@ describe('ApiKeysStep OpenAI OAuth', () => {
fireEvent.click(screen.getByTestId('onboarding-openai-oauth-connect'));
- await waitFor(() =>
- expect(openUrl).toHaveBeenCalledWith('https://auth.openai.com/oauth?x=1')
- );
+ await waitFor(() => expect(openUrl).toHaveBeenCalledWith('https://auth.openai.com/oauth?x=1'));
expect(
screen.queryByText('ChatGPT sign-in is only available in the desktop app.')
).not.toBeInTheDocument();
diff --git a/app/src/utils/tauriCommands/composio.ts b/app/src/utils/tauriCommands/composio.ts
index b4a687f648..05e9d8cb29 100644
--- a/app/src/utils/tauriCommands/composio.ts
+++ b/app/src/utils/tauriCommands/composio.ts
@@ -19,7 +19,6 @@ export interface ComposioTriggerHistoryResult {
export async function openhumanComposioListTriggerHistory(
limit = 100
): Promise<CommandResponse<{ result: ComposioTriggerHistoryResult }>> {
-
return await callCoreRpc<CommandResponse<{ result: ComposioTriggerHistoryResult }>>({
method: 'openhuman.composio_list_trigger_history',
params: { limit },