debug: add VLM enrich logging
This commit is contained in:
@@ -155,8 +155,10 @@ async fn enrich_vlm_from_pg(
|
||||
// file_uuid is 32 chars, then "_t" (2 chars), then hex trace_id
|
||||
let trace_id: i32 = if chunk_id.len() > 34 && chunk_id.starts_with(file_uuid) {
|
||||
let hex_part = &chunk_id[34..]; // after "{file_uuid}_t"
|
||||
tracing::info!("[VLM-enrich] chunk_id={}, hex_part={}", chunk_id, hex_part);
|
||||
i32::from_str_radix(hex_part, 16).ok()?
|
||||
} else {
|
||||
tracing::info!("[VLM-enrich] chunk_id parse failed: len={}, starts_with={}", chunk_id.len(), chunk_id.starts_with(file_uuid));
|
||||
return None;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user