aboutsummaryrefslogtreecommitdiff
path: root/llm.py
diff options
context:
space:
mode:
authorJoel Kronqvist <joel.kronqvist@iki.fi>2026-10-11 01:27:08 +0300
committerJoel Kronqvist <joel.kronqvist@iki.fi>2026-10-11 01:27:08 +0300
commit80acace256140862c4b5a4948b7389fb53eeeaad (patch)
tree868a2a77c4b697dff98f73dbec4d5542049c3b4c /llm.py
parent3b9658bb9ae113732e250ad4e84866a349f88274 (diff)
downloadagent-80acace256140862c4b5a4948b7389fb53eeeaad.tar.gz
agent-80acace256140862c4b5a4948b7389fb53eeeaad.zip
feat: shell commands with permission request
Diffstat (limited to 'llm.py')
-rwxr-xr-xllm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llm.py b/llm.py
index 51234bd..4ef94d9 100755
--- a/llm.py
+++ b/llm.py
@@ -103,7 +103,7 @@ def main():
parser.add_argument("--workdir", type=Path, default=Path.cwd(), help="The directory the agent has access to (default: current directory)")
args = parser.parse_args()
- actions = [ls, read, write, tldr]
+ actions = [ls, read, write, tldr, shell]
state = ({"role": "system",
"content": f"""You are an autonomous coding agent that can help with programming tasks.
You can explore repositories, read files, search for information, and make changes to code.