auto-enable composio gmail sync when signed in

This commit is contained in:
Ramnique Singh 2026-03-16 11:01:22 +05:30
parent dd361cb6bf
commit 16b8975b00
3 changed files with 5 additions and 4 deletions

View file

@ -273,8 +273,8 @@ export function listConnected(): { toolkits: string[] } {
/**
* Check if Composio should be used for Google services (Gmail, etc.)
*/
export function useComposioForGoogle(): { enabled: boolean } {
return { enabled: composioClient.useComposioForGoogle() };
export async function useComposioForGoogle(): Promise<{ enabled: boolean }> {
return { enabled: await composioClient.useComposioForGoogle() };
}
/**