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: model

Louis Beaumont05f4fa87c6b4
diff --git a/screenpipe-app-tauri/components/settings.tsx b/screenpipe-app-tauri/components/settings.tsx
index 29566a55b..6056421dd 100644
--- a/screenpipe-app-tauri/components/settings.tsx
+++ b/screenpipe-app-tauri/components/settings.tsx
@@ -276,6 +276,7 @@ export function Settings({ className }: { className?: string }) {
const handleAiProviderChange = (newValue: AIProviderType) => {
let newUrl = "";
+ let newModel = localSettings.aiModel;
switch (newValue) {
case "openai":
newUrl = "https://api.openai.com/v1";
@@ -285,6 +286,7 @@ export function Settings({ className }: { className?: string }) {
break;
case "embedded":
newUrl = `http://localhost:${localSettings.embeddedLLM.port}/v1`;
+ newModel = localSettings.embeddedLLM.model;
break;
case "screenpipe-cloud":
newUrl = "https://ai-proxy.i-f9f.workers.dev/v1";
@@ -298,10 +300,12 @@ export function Settings({ className }: { className?: string }) {
...localSettings,
aiProviderType: newValue,
aiUrl: newUrl,
+ aiModel: newModel,
});
updateSettings({
aiProviderType: newValue,
aiUrl: newUrl,
+ aiModel: newModel,
});
};
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 77e5ce649..0c661baef 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.7.3"
+version = "0.7.4"
description = ""
authors = ["you"]
license = ""