feat(completion): add scoped metadata assistant

This commit is contained in:
t8y2 committed 2026-06-24 00:40:28 +08:00
1 parent 3f65297f25
commit cebb39cb80
37 files changed
+2709 -85

No files matched your search

+8
View File
@@ -137,6 +137,14 @@ pub async fn list_completion_objects(
dbx_core::schema::list_completion_objects_core(&state, &connection_id, &database, &schema).await
}
#[tauri::command]
pub async fn completion_assistant_search(
state: State<'_, Arc<AppState>>,
request: db::CompletionAssistantRequest,
) -> Result<db::CompletionAssistantResponse, String> {
dbx_core::schema::completion_assistant_search_core(&state, request).await
}
#[tauri::command]
pub async fn get_object_source(
state: State<'_, Arc<AppState>>,