diff options
| author | sigoden <sigoden@gmail.com> | 2024-07-29 17:21:52 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-29 17:21:52 +0800 |
| commit | 44aac171b79835048ae09150d392a683930077e1 (patch) | |
| tree | 6f9669e2225dbdb3ceb732d207586661ef0dbb7a /src/config/agent.rs | |
| parent | 14bfd4e97d0ea7d633e54595e17a54eb66529232 (diff) | |
| download | aichat-44aac171b79835048ae09150d392a683930077e1.tar.gz | |
fix: unable to rebuild agent rag (#763)
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 2b319ed..5f36097 100644 --- a/src/config/agent.rs +++ b/src/config/agent.rs @@ -36,7 +36,7 @@ impl Agent { let definition_file_path = functions_dir.join("index.yaml"); let functions_file_path = functions_dir.join("functions.json"); let variables_path = Config::agent_variables_file(name)?; - let rag_path = Config::agent_rag_file(name)?; + let rag_path = Config::agent_rag_file(name, "rag")?; let config_path = Config::agent_config_file(name)?; let agent_config = if config_path.exists() { AgentConfig::load(&config_path)? |
