This repository has been archived by the owner on Apr 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
21 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Computer | ||
|
||
This tool enables LLMs to execute Python code and run shell commands inside a Docker container. You have to have the Docker daemon running in order for this tool to work. | ||
|
||
You can specify a local working directory and environment variables during tool initialization: | ||
|
||
```python | ||
Computer( | ||
local_workdir=os.path.abspath(os.path.join(os.getcwd(), "workdir")), | ||
env_vars={ | ||
"ENV_VAR_1": "foo", | ||
"ENV_VAR_2": "bar", | ||
} | ||
) | ||
``` |
4 changes: 2 additions & 2 deletions
4
...ols/official-tools/text-memory-browser.md → ...s/official-tools/tool-output-processor.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# TextMemoryBrowser | ||
# ToolOutputProcessor | ||
|
||
This tool enables LLMs to query, extract, and summarize tool outputs via shared short-term tool memory. | ||
|
||
```python | ||
TextMemoryBrowser() | ||
ToolOutputProcessor() | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters