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
server changes removed
cparish312487246310de5
diff --git a/screenpipe-server/src/server.rs b/screenpipe-server/src/server.rsindex 65e85252c..c1b442c20 100644--- a/screenpipe-server/src/server.rs+++ b/screenpipe-server/src/server.rs@@ -863,46 +863,6 @@ async fn execute_raw_sql(}}-// #[derive(Deserialize)]-// #[serde(tag = "type", content = "data")]-// pub enum AddContentRequest {-// Frame(FrameContent),-// Transcription(AudioTranscription),-// }--// #[derive(Deserialize)]-// pub struct FrameContent {-// pub frame_id: i64,-// pub file_path: String,-// pub timestamp: Option<DateTime<Utc>>,-// pub app_name: Option<String>,-// pub window_name: Option<String>,-// pub ocr_results: Option<Vec<OCRContent>>,-// pub tags: Option<Vec<String>>, =-// }--// #[derive(Deserialize)]-// pub struct AudioTranscription {-// pub transcription: String,-// pub timestamp: Option<DateTime<Utc>>,-// pub file_path: String,-// pub tags: Option<Vec<String>>,-// pub device_name: Option<String>,-// }--// #[derive(Serialize)]-// pub struct AddContentResponse {-// pub success: bool,-// pub message: Option<String>,-// }--// pub(crate) async fn add_to_database(-// State(state): State<Arc<AppState>>,-// Json(payload): Json<AddContentRequest>,-// ) -> Result<JsonResponse<AddContentResponse>, (StatusCode, JsonResponse<Value>)> {--// }-#[cfg(feature = "experimental")]async fn input_control_handler(JsonResponse(payload): JsonResponse<InputControlRequest>,@@ -1007,7 +967,6 @@ pub fn create_router() -> Router<Arc<AppState>> {.route("/experimental/frames/merge", post(merge_frames_handler)).route("/health", get(health_check)).route("/raw_sql", post(execute_raw_sql));- // .route("/add", post(add_to_database));#[cfg(feature = "llm")]let router = router.route("/llm/chat", post(llm_chat_handler));