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: remove /v1 from baseUrl (pi adds it automatically)
Louis Beaumonta0b5aeaf3039
diff --git a/screenpipe-app-tauri/src-tauri/src/pi.rs b/screenpipe-app-tauri/src-tauri/src/pi.rsindex 0f15e022a..21479b526 100644--- a/screenpipe-app-tauri/src-tauri/src/pi.rs+++ b/screenpipe-app-tauri/src-tauri/src/pi.rs@@ -6,7 +6,7 @@use tracing::{debug, error, info, warn};const PI_PACKAGE: &str = "@mariozechner/pi-coding-agent";-const SCREENPIPE_API_URL: &str = "https://api.screenpi.pe/anthropic/v1";+const SCREENPIPE_API_URL: &str = "https://api.screenpi.pe/anthropic"; // Pi adds /v1/messagesconst DEFAULT_MODEL: &str = "claude-opus-4-5-20251101";/// Ensure pi CLI is installed/updated via bun@@ -60,7 +60,7 @@ pub fn ensure_config() -> Result<(), String> {let models_path = config_dir.join("models.json");- // Override built-in anthropic provider to use screenpipe API proxy+ // Override anthropic baseUrl to use screenpipe API proxylet config = serde_json::json!({"providers": {"anthropic": {