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(pipes): unify auth env var to SCREENPIPE_LOCAL_API_KEY (#3597)
Ansh Grover3671deb6d290
diff --git a/crates/screenpipe-engine/src/bin/screenpipe-engine.rs b/crates/screenpipe-engine/src/bin/screenpipe-engine.rsindex 445db87bd..d46cb2741 100644--- a/crates/screenpipe-engine/src/bin/screenpipe-engine.rs+++ b/crates/screenpipe-engine/src/bin/screenpipe-engine.rs@@ -1147,9 +1147,10 @@ async fn main() -> anyhow::Result<()> {std::fs::create_dir_all(&pipes_dir).ok();let user_token = std::env::var("SCREENPIPE_API_KEY").ok();- let pi_executor = std::sync::Arc::new(screenpipe_core::agents::pi::PiExecutor::new(- user_token.clone(),- ));+ let pi_executor = std::sync::Arc::new(+ screenpipe_core::agents::pi::PiExecutor::new(user_token.clone())+ .with_api_auth_key(config.api_auth_key.clone()),+ );// Workflow event classifier — opt-in cloud feature. Polls recent activity// and emits `WorkflowEvent`s on the bus so pipes with `trigger.events`