From f430402bf8d47cb9afce539011eb66ec4551dc0b Mon Sep 17 00:00:00 2001 From: sigoden Date: Sat, 22 Jun 2024 07:26:17 +0800 Subject: refactor: agents dir (#629) --- src/config/agent.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config/agent.rs') diff --git a/src/config/agent.rs b/src/config/agent.rs index 91a38b4..aaf0b07 100644 --- a/src/config/agent.rs +++ b/src/config/agent.rs @@ -77,7 +77,7 @@ impl Agent { pub fn export(&self) -> Result { let mut value = serde_json::json!(self); - value["functions_dir"] = Config::agent_source_dir(&self.name)? + value["functions_dir"] = Config::agent_functions_dir(&self.name)? .display() .to_string() .into(); -- cgit v1.2.3