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
Revert "fix(store): default AIPreset model is "auto", migrate stale qwen preset"
Louis Beaumonte18dcf3c1d97
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/store.rs b/apps/screenpipe-app-tauri/src-tauri/src/store.rsindex c8886919a..5ccc6dc00 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/store.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/store.rs@@ -589,7 +589,7 @@ impl Default for AIPreset {prompt: String::new(),provider: AIProviderType::ScreenpipeCloud,url: "https://api.screenpi.pe/v1".to_string(),- model: "auto".to_string(),+ model: "qwen/qwen3.5-flash-02-23".to_string(),default_preset: false,api_key: None,max_context_chars: 512000,@@ -879,20 +879,6 @@ impl SettingsStore {}}}-- // Migrate the bundled screenpipe-cloud preset off the old hardcoded- // qwen model — the seed is "auto" now, but users who installed- // earlier still carry the literal qwen id.- let id = preset.get("id").and_then(|v| v.as_str()).unwrap_or("");- let model = preset.get("model").and_then(|v| v.as_str()).unwrap_or("");- if id == "screenpipe-cloud" && model == "qwen/qwen3.5-flash-02-23" {- if let Some(obj) = preset.as_object_mut() {- obj.insert(- "model".to_string(),- Value::String("auto".to_string()),- );- }- }}}}