Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: auto-switch to cloud transcription when user subscribes

Louis Beaumont31ab82532f5e
diff --git a/apps/screenpipe-app-tauri/components/settings/account-section.tsx b/apps/screenpipe-app-tauri/components/settings/account-section.tsx
index 68d8d59d3..18731ee8a 100644
--- a/apps/screenpipe-app-tauri/components/settings/account-section.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/account-section.tsx
@@ -127,10 +127,11 @@ export function AccountSection() {
if (isActive) {
updateSettings({
user: { ...settings.user!, cloud_subscribed: true },
+ audioTranscriptionEngine: "screenpipe-cloud",
});
toast({
title: "subscription activated",
- description: "welcome to screenpipe pro!",
+ description: "welcome to screenpipe pro! cloud transcription enabled.",
});
return; // stop polling
}
diff --git a/apps/screenpipe-app-tauri/components/settings/sync-settings.tsx b/apps/screenpipe-app-tauri/components/settings/sync-settings.tsx
index 791aea4f1..9ef65f83c 100644
--- a/apps/screenpipe-app-tauri/components/settings/sync-settings.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/sync-settings.tsx
@@ -962,9 +962,14 @@ export function SyncSettings() {
if (hasSubscription) {
if (settings.user && !settings.user.cloud_subscribed) {
- await updateSettings({
+ const engineUpdate: Record<string, any> = {
user: { ...settings.user, cloud_subscribed: true },
- });
+ };
+ // Auto-switch to cloud transcription for new subscribers
+ if (settings.audioTranscriptionEngine !== "screenpipe-cloud") {
+ engineUpdate.audioTranscriptionEngine = "screenpipe-cloud";
+ }
+ await updateSettings(engineUpdate);
}
return await initSyncBackend();
} else {