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

small fix on llm

Louis Beaumont779a00c0a9d0
diff --git a/screenpipe-app-tauri/components/settings.tsx b/screenpipe-app-tauri/components/settings.tsx
index 6056421dd..b900f2087 100644
--- a/screenpipe-app-tauri/components/settings.tsx
+++ b/screenpipe-app-tauri/components/settings.tsx
@@ -188,9 +188,17 @@ export function Settings({ className }: { className?: string }) {
const handleEmbeddedLLMModelChange = (
e: React.ChangeEvent<HTMLInputElement>
) => {
- const newValue = { ...localSettings.embeddedLLM, model: e.target.value };
- setLocalSettings({ ...localSettings, embeddedLLM: newValue });
- updateSettings({ embeddedLLM: newValue });
+ const newModel = e.target.value;
+ const newEmbeddedLLM = { ...localSettings.embeddedLLM, model: newModel };
+ setLocalSettings({
+ ...localSettings,
+ embeddedLLM: newEmbeddedLLM,
+ aiModel: newModel, // Update the general AI model as well
+ });
+ updateSettings({
+ embeddedLLM: newEmbeddedLLM,
+ aiModel: newModel, // Update the general AI model in the global settings
+ });
};
const handleEmbeddedLLMPortChange = (
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 0c661baef..874ba577f 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.4"
+version = "0.7.5"
description = ""
authors = ["you"]
license = ""