test: production ingest E2E test suite with enhanced logging #55
@@ -70,11 +70,13 @@ impl ObsidianRefSource {
|
||||
}
|
||||
|
||||
/// Check if a file path is allowed (matches configured prefixes)
|
||||
#[allow(dead_code)]
|
||||
fn is_allowed_path(&self, path: &str) -> bool {
|
||||
self.allowed_paths.iter().any(|prefix| path.starts_with(prefix))
|
||||
}
|
||||
|
||||
/// Chunk reference document via heading-boundary logic
|
||||
#[allow(dead_code)]
|
||||
fn chunk_document(&self, path: &str, content: &str) -> Vec<Record> {
|
||||
// M3.6.1 heading-boundary chunking
|
||||
// - Split by headings
|
||||
|
||||
@@ -27,6 +27,7 @@ struct EmbeddingRequest {
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize)]
|
||||
#[allow(dead_code)]
|
||||
#[serde(untagged)]
|
||||
enum EmbeddingResponse {
|
||||
Success {
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
use chrono::{DateTime, Utc};
|
||||
use sqlx::PgPool;
|
||||
use uuid::Uuid;
|
||||
use serde_json::json;
|
||||
|
||||
/// Minimal audit logger - records version snapshots on mutation
|
||||
#[derive(Clone)]
|
||||
|
||||
Reference in New Issue
Block a user