From 44aac171b79835048ae09150d392a683930077e1 Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 29 Jul 2024 17:21:52 +0800 Subject: fix: unable to rebuild agent rag (#763) --- 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 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)? -- cgit v1.2.3