fix: resolve all 75 mem-cli compilation errors across 25 files
CI / CI (pull_request) Successful in 4m17s
CI / CI (pull_request) Successful in 4m17s
- embed_text -> embed_one + Vector to Vec<f32> conversion (semantic.rs, unified_query.rs) - DefaultAgent: remove shadowing type alias, re-export concrete struct - Position: add Default derive for unwrap_or_default() - streaming_body -> streaming + yield Result<Bytes> for SSE - borrow-after-move: compute len before move in 6 places - add missing imports: sqlx::Row, chrono::Timelike, std::pin::Pin - add missing derives: Serialize on CompactionStats, FacetFilters - extract_token: extract Authorization header from HttpRequest first - AuthError variants: match actual enum (TokenExpired, not ExpiredToken) - validate_bearer_token -> extract_bearer_token (sync check) - check_limit -> check with correct args - link_entities -> link_mentions (async, correct signature) - InferenceEngine::new + infer_facts: match actual 2-arg/3-arg API - RoutedResult: add missing confidence_score + is_valid fields - client_sdk: fix ownership (remove borrow, save status before .text()) - index_chunk -> index_document (match OpenSearchClient API) - recursive async dfs_paths: Box::pin for infinite future size - log -> tracing crate in authentik_service_account - CI: add SQLX_OFFLINE=true env var for offline builds
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
use std::collections::{HashMap, VecDeque};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use chrono::{DateTime, Utc};
|
||||
use sqlx::{Pool, Postgres};
|
||||
use sqlx::{Pool, Postgres, Row};
|
||||
|
||||
/// A node in the traversal result
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
@@ -196,6 +196,7 @@ impl BfsGraphTraversal {
|
||||
});
|
||||
}
|
||||
|
||||
let edge_count = edges.len();
|
||||
Ok(GraphData {
|
||||
nodes,
|
||||
edges,
|
||||
@@ -203,7 +204,7 @@ impl BfsGraphTraversal {
|
||||
requested_depth: config.max_depth,
|
||||
max_depth_reached: max_depth,
|
||||
node_count: visited.len(),
|
||||
edge_count: edges.len(),
|
||||
edge_count,
|
||||
depth_breakdown,
|
||||
traversal_time_ms: start_time.elapsed().as_millis() as u64,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user