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: set maxTokens to 4096 for custom providers (Groq compat)
Louis Beaumont0921046331eb
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/pi.rs b/apps/screenpipe-app-tauri/src-tauri/src/pi.rsindex c336bd2b1..d0619c327 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/pi.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/pi.rs@@ -532,6 +532,7 @@ fn ensure_pi_config("id": config.model,"name": config.model,"input": ["text", "image"],+ "maxTokens": 4096,"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0}}]diff --git a/crates/screenpipe-core/src/agents/pi.rs b/crates/screenpipe-core/src/agents/pi.rsindex bbf204725..fe018a89b 100644--- a/crates/screenpipe-core/src/agents/pi.rs+++ b/crates/screenpipe-core/src/agents/pi.rs@@ -232,6 +232,7 @@ impl PiExecutor {"id": mdl,"name": mdl,"input": ["text", "image"],+ "maxTokens": 4096,"cost": {"input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0}}]});