@@ -477,8 +477,8 @@ impl Engine {
477477 /// as the retrieval agent progresses through navigation.
478478 ///
479479 /// Supports single-document and multi-document scope.
480- /// Events are translated from the agent's internal [`AgentEvent`](crate::agent::AgentEvent)
481- /// into the public [`RetrieveEvent`] stream.
480+ /// Events are translated from the agent's internal event stream
481+ /// into the public `RetrieveEventReceiver` stream.
482482 pub async fn query_stream ( & self , ctx : QueryContext ) -> Result < RetrieveEventReceiver > {
483483 self . check_cancel ( ) ?;
484484 let _guard = self . inc_active ( ) ;
@@ -1073,7 +1073,10 @@ impl Engine {
10731073
10741074 // Load all documents in parallel and extract keyword profiles
10751075 let doc_ids = self . workspace . inner ( ) . list_documents ( ) . await ;
1076- info ! ( doc_count = doc_ids. len( ) , "Loading documents for graph rebuild" ) ;
1076+ info ! (
1077+ doc_count = doc_ids. len( ) ,
1078+ "Loading documents for graph rebuild"
1079+ ) ;
10771080 let concurrency = self . config . llm . throttle . max_concurrent_requests ;
10781081
10791082 let loaded: Vec < Option < PersistedDocument > > = futures:: stream:: iter ( doc_ids. iter ( ) . cloned ( ) )
@@ -1101,7 +1104,11 @@ impl Engine {
11011104 }
11021105
11031106 let graph = builder. build ( ) ;
1104- info ! ( nodes = graph. node_count( ) , edges = graph. edge_count( ) , "Graph built, persisting" ) ;
1107+ info ! (
1108+ nodes = graph. node_count( ) ,
1109+ edges = graph. edge_count( ) ,
1110+ "Graph built, persisting"
1111+ ) ;
11051112 self . workspace . set_graph ( & graph) . await ?;
11061113 Ok ( ( ) )
11071114 }
0 commit comments