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: add missing piRunningConfigRef declaration in standalone-chat

Louis Beaumontd00c0deb8c6c
diff --git a/apps/screenpipe-app-tauri/components/standalone-chat.tsx b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
index c8b64498e..5249a314f 100644
--- a/apps/screenpipe-app-tauri/components/standalone-chat.tsx
+++ b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
@@ -931,6 +931,7 @@ export function StandaloneChat({ className }: { className?: string } = {}) {
const piLastCrashRef = useRef(0);
const piThinkingStartRef = useRef<number | null>(null);
const piSessionSyncedRef = useRef(false);
+ const piRunningConfigRef = useRef<{ provider: string; model: string; token: string | null } | null>(null);
// Active pipe execution (when watching a running pipe)
const [activePipeExecution, setActivePipeExecution] = useState<{