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: move /vision/status out of oasgen to prevent OpenAPI spec panic
Louis Beaumontf629bc6fcf44
diff --git a/crates/screenpipe-server/src/server.rs b/crates/screenpipe-server/src/server.rsindex 20c21c5eb..69feee890 100644--- a/crates/screenpipe-server/src/server.rs+++ b/crates/screenpipe-server/src/server.rs@@ -715,7 +715,6 @@ pub async fn api_list_monitors(}}-#[oasgen]pub async fn api_vision_status() -> JsonResponse<serde_json::Value> {match list_monitors_detailed().await {@@ -1436,7 +1435,6 @@ impl SCServer {.get("/search", search).get("/audio/list", api_list_audio_devices).get("/vision/list", api_list_monitors)- .get("/vision/status", api_vision_status).post("/tags/:content_type/:id", add_tags).delete("/tags/:content_type/:id", remove_tags).get("/pipes/info/:pipe_id", get_pipe_info_handler)@@ -1492,6 +1490,8 @@ impl SCServer {"/sync/download",axum::routing::post(sync_api::sync_download),)+ // Vision status endpoint (not in OpenAPI spec to avoid oasgen registration issues)+ .route("/vision/status", get(api_vision_status))// NOTE: websockerts and sse is not supported by openapi so we move it down here.route("/stream/frames", get(stream_frames_handler)).route("/ws/events", get(ws_events_handler))