From 3584b5c31f4f1f1baa1c350fa46a18752f8bf7c4 Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 12 Dec 2024 12:22:51 +0800 Subject: feat: support env var `LLM_DUMP_RESULTS` (#144) --- docs/environment-variables.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'docs') diff --git a/docs/environment-variables.md b/docs/environment-variables.md index 8c13b64..a3216b9 100644 --- a/docs/environment-variables.md +++ b/docs/environment-variables.md @@ -2,15 +2,15 @@ ## Injected by `run-tool.*`/`run-agent.*` -| Name | Description | -| --------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `LLM_ROOT_DIR` | Path to `` | -| `LLM_TOOL_NAME` | Tool name, such as `execute_command` | -| `LLM_TOOL_CACHE_DIR` | Path to `/cache/`,
The tool script can use this directory to store some cache data | -| `LLM_AGENT_NAME` | Agent name, such as `todo` | -| `LLM_AGENT_FUNC` | Agent function, such as `list_todos` | -| `LLM_AGENT_ROOT_DIR` | Path to `/agents/` | -| `LLM_AGENT_CACHE_DIR` | Path to `/cache/`,
The tool script can use this directory to store some cache data | +| Name | Description | +| --------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `LLM_ROOT_DIR` | Path to `` | +| `LLM_TOOL_NAME` | Tool name, such as `execute_command` | +| `LLM_TOOL_CACHE_DIR` | Path to `/cache/`,
The tool script can use this directory to store some cache data | +| `LLM_AGENT_NAME` | Agent name, such as `todo` | +| `LLM_AGENT_FUNC` | Agent function, such as `list_todos` | +| `LLM_AGENT_ROOT_DIR` | Path to `/agents/` | +| `LLM_AGENT_CACHE_DIR` | Path to `/cache/`,
The agent tool script can use this directory to store some cache data | ## Injected by runtime (AIChat) @@ -23,4 +23,4 @@ | Name | Description | | ------------------ | --------------------------------------------------------------------------------------------- | -| `LLM_DUMP_RESULTS` | Controls whether to print the execution results of the tool, e.g. `get_current_weather\|fs.*` | +| `LLM_DUMP_RESULTS` | Controls whether to print the execution results of the tool, e.g. `get_current_weather\|fs.*\|todo:.*`, `.*` | -- cgit v1.2.3