feat: Added agent variables support for graph agents and improved script executor to use the same environment variables as normal agent tool calling for further flexibility

This commit is contained in:
2026-05-21 13:27:33 -06:00
parent 0bb312a85c
commit 558b764db8
6 changed files with 64 additions and 4 deletions
+4
View File
@@ -1,3 +1,4 @@
use crate::config::AgentVariable;
use anyhow::Result;
use indexmap::IndexMap;
use serde::{Deserialize, Serialize};
@@ -33,6 +34,9 @@ pub struct Graph {
#[serde(default)]
pub conversation_starters: Vec<String>,
#[serde(default)]
pub variables: Vec<AgentVariable>,
#[serde(default)]
pub settings: GraphSettings,