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: resolve remaining TS build errors blocking enterprise release

Louis Beaumont2cb44fd9d842
diff --git a/apps/screenpipe-app-tauri/components/standalone-chat.tsx b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
index 5fbfd2e03..ada9bd696 100644
--- a/apps/screenpipe-app-tauri/components/standalone-chat.tsx
+++ b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
@@ -2676,8 +2676,8 @@ export function StandaloneChat({ className }: { className?: string } = {}) {
console.log("[Pi] Not running, auto-starting before sending message");
piStartInFlightRef.current = true;
setPiStarting(true);
+ const providerConfig = buildProviderConfig();
try {
- const providerConfig = buildProviderConfig();
const home = await homeDir();
const dir = await join(home, ".screenpipe", "pi-chat");
const result = await commands.piStart(piSessionIdRef.current, dir, settings.user?.token ?? null, providerConfig);