diff --git a/src/api/processing.rs b/src/api/processing.rs index b28dd525..b8dec416 100644 --- a/src/api/processing.rs +++ b/src/api/processing.rs @@ -1220,9 +1220,6 @@ async fn verify_file_handler( Json(report) } -/// [DISABLED] FS VLM Summary removed from pipeline (2026-09-22) -/// Scene VLM (moment chunk VLM) remains active -/* /// Manually trigger VLM summary generation for an existing file. /// Non-blocking: returns immediately, VLM runs in background. async fn trigger_vlm_summary( @@ -1230,7 +1227,7 @@ async fn trigger_vlm_summary( Path(file_uuid): Path, ) -> Json { let db = state.db.clone(); - let output_dir = crate::core::config::OUTPUT_DIR.clone(); + let output_dir = crate::core::config::get_output_dir_for_file(&file_uuid, db.pool()).await; // Check if file has face traces let tp_table = crate::core::db::schema::table_name("trace_profiles"); @@ -1291,7 +1288,6 @@ async fn trigger_vlm_summary( "pending": pending, })) } -*/ pub fn processing_routes() -> Router { Router::new() @@ -1323,9 +1319,8 @@ pub fn processing_routes() -> Router { get(get_processor_json), ) .route("/api/v1/file/:file_uuid/verify", get(verify_file_handler)) - // [DISABLED] FS VLM Summary API removed (2026-09-22) - // .route( - // "/api/v1/file/:file_uuid/vlm-summary", - // post(trigger_vlm_summary), - // ) + .route( + "/api/v1/file/:file_uuid/vlm-summary", + post(trigger_vlm_summary), + ) }