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:
@@ -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,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user