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

fix: raise multipart body limit to 250MB for /v1/audio/transcriptions

Louis Beaumonte12e783a761e
diff --git a/crates/screenpipe-engine/src/server.rs b/crates/screenpipe-engine/src/server.rs
index fef9460b1..2c0eec0d0 100644
--- a/crates/screenpipe-engine/src/server.rs
+++ b/crates/screenpipe-engine/src/server.rs
@@ -562,7 +562,8 @@ impl SCServer {
)
.route(
"/v1/audio/transcriptions",
- axum::routing::post(crate::routes::transcribe::transcribe_handler),
+ axum::routing::post(crate::routes::transcribe::transcribe_handler)
+ .layer(axum::extract::DefaultBodyLimit::max(250 * 1024 * 1024)), // 250MB
);
// Apple Intelligence — generic OpenAI-compatible endpoint (macOS only)