feat: initial support for RAG nodes in the graph execution system

This commit is contained in:
2026-05-15 14:11:23 -06:00
parent edd3c08247
commit 3e508c9337
10 changed files with 454 additions and 47 deletions
+2 -1
View File
@@ -9,11 +9,11 @@
//! The logger also accumulates per-node wall-clock timings and emits a
//! performance summary (slowest-first) when the graph completes.
use std::cmp::Reverse;
use super::state::StateManager;
use super::types::{Node, NodeType};
use crate::utils::dimmed_text;
use indexmap::IndexMap;
use std::cmp::Reverse;
use std::time::Duration;
#[derive(Debug, Clone, Default)]
@@ -161,6 +161,7 @@ fn node_type_label(node: &Node) -> &'static str {
NodeType::Approval(_) => "approval",
NodeType::Input(_) => "input",
NodeType::Llm(_) => "llm",
NodeType::Rag(_) => "rag",
NodeType::End(_) => "end",
}
}