This commit is contained in:
@@ -75,6 +75,8 @@ class MainGraphState:
|
||||
rag_context: str = ""
|
||||
rag_retrieved: bool = False
|
||||
rag_docs: List[Dict[str, Any]] = field(default_factory=list)
|
||||
rag_confidence: float = 0.0 # RAG 检索置信度 (0.0-1.0)
|
||||
rag_attempts: int = 0 # RAG 检索次数统计
|
||||
|
||||
# ========== 联网搜索相关字段 ==========
|
||||
web_search_results: List[str] = field(default_factory=list)
|
||||
|
||||
Reference in New Issue
Block a user