feat: implement Phase 6 Agent Integration (Translation API)
This commit is contained in:
@@ -20,6 +20,7 @@ use crate::core::db::{Database, PostgresDb, QdrantDb, RedisClient, VideoRecord,
|
||||
use crate::core::text::tokenizer::tokenize_chinese_text;
|
||||
use crate::{Embedder, FileManager};
|
||||
|
||||
use super::agent_api;
|
||||
use super::face_recognition;
|
||||
use super::identities;
|
||||
use super::identity_binding;
|
||||
@@ -2482,6 +2483,7 @@ pub async fn start_server(host: &str, port: u16) -> anyhow::Result<()> {
|
||||
post(search_visual_chunks_by_combination),
|
||||
)
|
||||
.merge(identity_api::identity_routes()) // Phase 3 Routes
|
||||
.merge(agent_api::agent_routes()) // Phase 6 Routes
|
||||
.merge(protected_routes)
|
||||
.layer(cors)
|
||||
.with_state(state);
|
||||
|
||||
Reference in New Issue
Block a user