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

release-app fix model toast

Louis Beaumontd4956a3f12a3
diff --git a/screenpipe-app-tauri/components/model-download-tracker.tsx b/screenpipe-app-tauri/components/model-download-tracker.tsx
index acc9edddc..cb8ad1d24 100644
--- a/screenpipe-app-tauri/components/model-download-tracker.tsx
+++ b/screenpipe-app-tauri/components/model-download-tracker.tsx
@@ -165,32 +165,6 @@ export function ModelDownloadTracker() {
return newState;
});
}
-
- // Also look for general download progress in the logs (may not be available)
- if (line.includes("download") && line.includes("%")) {
- const percentMatch = line.match(/(\d+)%/);
- if (percentMatch && percentMatch[1]) {
- const percent = parseInt(percentMatch[1], 10);
- console.log(`Download progress detected: ${percent}%`);
- // We could use this to update progress bars if we can associate it with a specific model
- }
- }
-
- // Look for download errors
- if (
- (line.includes("download") || line.includes("model")) &&
- (line.includes("error") ||
- line.includes("failed") ||
- line.includes("timeout"))
- ) {
- toast({
- title: "download error",
- description:
- "there was a problem downloading a model. check logs for details.",
- variant: "destructive",
- duration: 5000,
- });
- }
});
return () => {
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lock
index eeb3903e6..ba1830bc2 100755
--- a/screenpipe-app-tauri/src-tauri/Cargo.lock
+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock
@@ -5300,7 +5300,7 @@ dependencies = [
[[package]]
name = "screenpipe-app"
-version = "0.41.10"
+version = "0.41.12"
dependencies = [
"anyhow",
"async-stream",
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index 874896e0c..1adce6f51 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.41.11"
+version = "0.41.12"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-audio/src/transcription/whisper/model.rs b/screenpipe-audio/src/transcription/whisper/model.rs
index d0a06a9f8..7c5df010d 100644
--- a/screenpipe-audio/src/transcription/whisper/model.rs
+++ b/screenpipe-audio/src/transcription/whisper/model.rs
@@ -26,7 +26,7 @@ pub fn download_whisper_model(engine: Arc<AudioTranscriptionEngine>) -> Result<P
let model = api_repo.get(model_name)?;
- info!("whisper model downloaded {}", model_name);
+ info!("model downloaded {}", model_name);
Ok(model)
}