fmt: applied formatting

This commit is contained in:
2026-08-12 12:07:38 -06:00
parent c84f9522e9
commit ebba976a27
+3 -2
View File
@@ -4,6 +4,7 @@ use crate::{
client::Model, client::Model,
config::memory, config::memory,
function::{Functions, run_llm_function}, function::{Functions, run_llm_function},
graph, rag,
}; };
use super::rag_cache::RagKey; use super::rag_cache::RagKey;
@@ -1021,7 +1022,7 @@ async fn init_graph_rags(
// Graph validation catches this too, but it is skipped when // Graph validation catches this too, but it is skipped when
// `validate_before_run` is off, so this guard is the load-bearing one. // `validate_before_run` is off, so this guard is the load-bearing one.
if let Some(driver) = &rag_node.driver if let Some(driver) = &rag_node.driver
&& let Some(message) = crate::graph::validator::rag_driver_error(driver) && let Some(message) = graph::validator::rag_driver_error(driver)
{ {
bail!("rag node '{node_id}': {message}"); bail!("rag node '{node_id}': {message}");
} }
@@ -1053,7 +1054,7 @@ async fn init_graph_rags(
} }
if config.driver.is_none() { if config.driver.is_none() {
config.driver = Some(crate::rag::select_rag_driver()?); config.driver = Some(rag::select_rag_driver()?);
} }
} }