feat: support env var LLM_DUMP_RESULTS (#144)
This commit is contained in:
@@ -2,15 +2,15 @@
|
||||
|
||||
## Injected by `run-tool.*`/`run-agent.*`
|
||||
|
||||
| Name | Description |
|
||||
| --------------------- | -------------------------------------------------------------------------------------------------------------------- |
|
||||
| `LLM_ROOT_DIR` | Path to `<llm-functions-dir>` |
|
||||
| `LLM_TOOL_NAME` | Tool name, such as `execute_command` |
|
||||
| `LLM_TOOL_CACHE_DIR` | Path to `<llm-functions-dir>/cache/<tool-name>`,<br>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 `<llm-functions-dir>/agents/<agent-name>` |
|
||||
| `LLM_AGENT_CACHE_DIR` | Path to `<llm-functions-dir>/cache/<agent-name>`,<br>The tool script can use this directory to store some cache data |
|
||||
| Name | Description |
|
||||
| --------------------- | -------------------------------------------------------------------------------------------------------------------------- |
|
||||
| `LLM_ROOT_DIR` | Path to `<llm-functions-dir>` |
|
||||
| `LLM_TOOL_NAME` | Tool name, such as `execute_command` |
|
||||
| `LLM_TOOL_CACHE_DIR` | Path to `<llm-functions-dir>/cache/<tool-name>`,<br>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 `<llm-functions-dir>/agents/<agent-name>` |
|
||||
| `LLM_AGENT_CACHE_DIR` | Path to `<llm-functions-dir>/cache/<agent-name>`,<br>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:.*`, `.*` |
|
||||
|
||||
Reference in New Issue
Block a user