diff options
| author | sigoden <sigoden@gmail.com> | 2024-11-16 12:30:07 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-16 12:30:07 +0800 |
| commit | bb1c34d0b84e342232c4e0b7f3f0c1fb3a9334c0 (patch) | |
| tree | 6f25dd656525ccd2d8e4b8fe7af607120f541f60 | |
| parent | 80684ec84047bda0299f8fd845b1c97f6fac5c99 (diff) | |
| download | aichat-bb1c34d0b84e342232c4e0b7f3f0c1fb3a9334c0.tar.gz | |
refactor: do not inject env var LLM_FUNCTIONS_ROOT (#998)
| -rw-r--r-- | src/function.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/function.rs b/src/function.rs index e4a7454..8d4a2a1 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 { |
