diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-22 07:26:17 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-22 07:26:17 +0800 |
| commit | f430402bf8d47cb9afce539011eb66ec4551dc0b (patch) | |
| tree | ceb5a1b1a20df73faa5b390cf8ade92fda34b1bd /src/config/agent.rs | |
| parent | d645046d2d729a55345e18f97fefcab545086f53 (diff) | |
| download | aichat-f430402bf8d47cb9afce539011eb66ec4551dc0b.tar.gz | |
refactor: agents dir (#629)
Diffstat (limited to 'src/config/agent.rs')
| -rw-r--r-- | src/config/agent.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<String> { 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(); |
