feat: Phase 3 API (Identity, Files, Candidates) and pre_chunks migration

This commit is contained in:
Warren
2026-04-25 22:19:12 +08:00
parent 1f84e5469f
commit e84982e7d9
5 changed files with 454 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ use crate::{Embedder, FileManager};
use super::face_recognition;
use super::identities;
use super::identity_binding;
use super::identity_api;
use super::middleware::api_key_validation;
use super::n8n_search;
use super::person_identity;
@@ -2480,6 +2481,7 @@ pub async fn start_server(host: &str, port: u16) -> anyhow::Result<()> {
"/api/v1/search/visual/combination",
post(search_visual_chunks_by_combination),
)
.merge(identity_api::identity_routes()) // Phase 3 Routes
.merge(protected_routes)
.layer(cors)
.with_state(state);