From bb1c34d0b84e342232c4e0b7f3f0c1fb3a9334c0 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sat, 16 Nov 2024 12:30:07 +0800 Subject: [PATCH] refactor: do not inject env var LLM_FUNCTIONS_ROOT (#998) --- src/function.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/function.rs b/src/function.rs index e4a7454f..8d4a2a19 100644 --- a/src/function.rs +++ b/src/function.rs @@ -236,11 +236,6 @@ impl ToolCall { let temp_file = temp_file("-eval-", ""); envs.insert("LLM_OUTPUT".into(), temp_file.display().to_string()); - envs.insert( - "LLM_FUNCTIONS_ROOT".into(), - Config::functions_dir().display().to_string(), - ); - #[cfg(windows)] let cmd_name = polyfill_cmd_name(&cmd_name, &bin_dirs); if *IS_STDOUT_TERMINAL {