bosprimigenious commented on code in PR #411:
URL: https://github.com/apache/hugegraph-ai/pull/411#discussion_r4527137009


##########
hugegraph-llm/src/hugegraph_llm/flows/rag_flow_graph_vector.py:
##########
@@ -121,6 +123,10 @@ def post_deal(self, pipeline=None, **kwargs):
             return {"error": "No pipeline provided"}
         res = pipeline.getGParamWithNoEmpty("wkflow_state").to_json()
         log.info("RAGGraphVectorFlow post processing success")
+        if res.get("is_graph_rag_recall", False):

Review Comment:
   At `99cdef7`, `RAGGraphVectorFlow.prepare()` writes `include_trace` into 
`prepared_input.data_json`, and `post_deal()` checks that separate flag. The 
new preparation test transfers this JSON into a real `WkFlowState` instead of 
injecting the flag directly into the fake post-processing state. Full pipeline 
execution is not covered by these tests.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to