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
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix: build
Louis Beaumontb44e9f8292a9
diff --git a/content/docs/pages/docs/getting-started.mdx b/content/docs/pages/docs/getting-started.mdxindex 57c76f3f9..60721781b 100644--- a/content/docs/pages/docs/getting-started.mdx+++ b/content/docs/pages/docs/getting-started.mdx@@ -295,6 +295,18 @@ after editing the configuration, rebuild your system using:</MotionDiv>+<MotionDiv delay={2.6}>++### important note for developers++if you encounter key-related errors when building from source, especially for the desktop app, you may need to sign your updates. this is particularly important for our production builds and ensuring secure update processes.++for detailed instructions on signing updates, please refer to the [tauri updater documentation](https://v2.tauri.app/plugin/updater/#signing-updates).++you can probably remove the updater config in your fork if you don't need it.++</MotionDiv>+### other options- check this [docker setup](https://github.com/sabrehagen/desktop-environment/blob/d273442143260b414c581d7a53be0618ca822bc0/docker/Dockerfile#L409-L421)diff --git a/screenpipe-app-tauri/components/onboarding/api-setup.tsx b/screenpipe-app-tauri/components/onboarding/api-setup.tsxindex 2c32225a4..64339b17c 100644--- a/screenpipe-app-tauri/components/onboarding/api-setup.tsx+++ b/screenpipe-app-tauri/components/onboarding/api-setup.tsx@@ -209,7 +209,7 @@ const OnboardingAPISetup: React.FC<OnboardingAPISetupProps> = ({<br />note: on windows, you may need to run ollama with:<pre className="bg-gray-100 p-1 rounded-md">- OLLAMA_ORIGINS=* ollama run llama2+ OLLAMA_ORIGINS=* ollama run llama3.2:3b-instruct-q4_K_M</pre></p>);@@ -221,7 +221,7 @@ const OnboardingAPISetup: React.FC<OnboardingAPISetupProps> = ({<br />note: on windows, you may need to run ollama with:<pre className="bg-gray-100 p-1 rounded-md">- OLLAMA_ORIGINS=* ollama run llama2+ OLLAMA_ORIGINS=* ollama run llama3.2:3b-instruct-q4_K_M</pre></p>);@@ -402,8 +402,8 @@ const OnboardingAPISetup: React.FC<OnboardingAPISetupProps> = ({className="flex-grow"placeholder={localSettings.aiUrl === "http://localhost:11434/v1"- ? "e.g., llama2:7b-chat"- : "e.g., gpt-4"+ ? "e.g., llama3.2:3b-instruct-q4_K_M"+ : "e.g., gpt-4o"}autoCorrect="off"autoCapitalize="off"diff --git a/screenpipe-app-tauri/components/settings.tsx b/screenpipe-app-tauri/components/settings.tsxindex 65de88588..d90fefccc 100644--- a/screenpipe-app-tauri/components/settings.tsx+++ b/screenpipe-app-tauri/components/settings.tsx@@ -291,11 +291,11 @@ export function Settings({ className }: { className?: string }) {setLocalSettings({...localSettings,- embeddedLLM: { ...localSettings.embeddedLLM, type: newValue },+ aiProviderType: newValue,aiUrl: newUrl,});updateSettings({- embeddedLLM: { ...localSettings.embeddedLLM, type: newValue },+ aiProviderType: newValue,aiUrl: newUrl,});};@@ -366,7 +366,7 @@ export function Settings({ className }: { className?: string }) {<br />note: on windows, you may need to run ollama with:<pre className="bg-gray-100 p-1 rounded-md">- OLLAMA_ORIGINS=* ollama run llama2+ OLLAMA_ORIGINS=* ollama run llama3.2:3b-instruct-q4_K_M</pre></p>);@@ -386,7 +386,7 @@ export function Settings({ className }: { className?: string }) {<br />note: on windows, you may need to run ollama with:<pre className="bg-gray-100 p-1 rounded-md">- OLLAMA_ORIGINS=* ollama run llama2+ OLLAMA_ORIGINS=* ollama run llama3.2:3b-instruct-q4_K_M</pre></p>);@@ -519,7 +519,7 @@ export function Settings({ className }: { className?: string }) {<div className="flex-grow flex items-center"><SelectonValueChange={handleAiProviderChange}- value={localSettings.embeddedLLM.type}+ value={localSettings.aiProviderType}><SelectTrigger className="w-full"><SelectValue placeholder="Select AI provider" />@@ -551,7 +551,7 @@ export function Settings({ className }: { className?: string }) {</TooltipProvider></div></div>- {localSettings.embeddedLLM.type === "custom" && (+ {localSettings.aiProviderType === "custom" && (<div className="w-full"><div className="flex items-center gap-4 mb-4"><Label@@ -616,7 +616,7 @@ export function Settings({ className }: { className?: string }) {</div></div>)}- {localSettings.embeddedLLM.type !== "embedded" && (+ {localSettings.aiProviderType !== "embedded" && (<div className="w-full"><div className="flex items-center gap-4 mb-4"><Label@@ -632,9 +632,9 @@ export function Settings({ className }: { className?: string }) {onChange={handleModelChange}className="flex-grow"placeholder={- localSettings.embeddedLLM.type === "native-ollama"- ? "e.g., llama2:7b-chat"- : "e.g., gpt-4"+ localSettings.aiProviderType === "native-ollama"+ ? "e.g., llama3.2:3b-instruct-q4_K_M"+ : "e.g., gpt-4o"}autoCorrect="off"autoCapitalize="off"diff --git a/screenpipe-app-tauri/lib/hooks/use-settings.tsx b/screenpipe-app-tauri/lib/hooks/use-settings.tsxindex 5b87b4aa5..6222f91a3 100644--- a/screenpipe-app-tauri/lib/hooks/use-settings.tsx+++ b/screenpipe-app-tauri/lib/hooks/use-settings.tsx@@ -19,7 +19,6 @@ export type EmbeddedLLMConfig = {enabled: boolean;model: string;port: number;- type: AIProviderType;};export interface Settings {@@ -42,6 +41,7 @@ export interface Settings {disableAudio: boolean;ignoredWindows: string[];includedWindows: string[];+ aiProviderType: AIProviderType;aiUrl: string;aiMaxContextChars: number;fps: number;@@ -82,6 +82,7 @@ const defaultSettings: Settings = {disableAudio: false,ignoredWindows: [],includedWindows: [],+ aiProviderType: "openai",aiUrl: "https://api.openai.com/v1",aiMaxContextChars: 30000,fps: 0.5,@@ -278,6 +279,8 @@ export function useSettings() {if (savedIsFirstTimeUser === null) {savedIsFirstTimeUser = true;}+ const savedAiProviderType =+ (await store!.get<AIProviderType>("aiProviderType")) || "openai";setSettings({openaiApiKey: savedKey,@@ -299,6 +302,7 @@ export function useSettings() {disableAudio: savedDisableAudio,ignoredWindows: finalIgnoredWindows,includedWindows: savedIncludedWindows,+ aiProviderType: savedAiProviderType,aiUrl: savedAiUrl,aiMaxContextChars: savedAiMaxContextChars,fps: savedFps,