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 parent
0bb312a85c
commit
558b764db8
6 files changed
+64
-4
No files matched your search
@@ -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