pub use crate::agent::{
AgentContext, AgentEvent, AgentInput, AgentOutput, AgentState, types::InterruptResult,
};
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, Default)]
pub struct AgentConfig {
pub agent_id: String,
pub name: String,
pub node_config: std::collections::HashMap<String, String>,
}
impl AgentConfig {
pub fn new(agent_id: &str, name: &str) -> Self {
Self {
agent_id: agent_id.to_string(),
name: name.to_string(),
node_config: std::collections::HashMap::new(),
}
}
}