From 7e14025cae14e1f98b96178a437a16ef5429cdad Mon Sep 17 00:00:00 2001 From: kiankyars <69437137+kiankyars@users.noreply.github.com> Date: Wed, 8 Apr 2026 15:43:57 -0700 Subject: [PATCH 1/3] Fix variable name from lm_output to output --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 1748428..447e080 100644 --- a/docs/index.md +++ b/docs/index.md @@ -25,7 +25,7 @@ Pseudocode: ```python messages = [{"role": "user", "content": "Help me fix the ValueError in main.py"}] while True: - lm_output = query_lm(messages) + output = query_lm(messages) print("LM output", output) messages.append({"role": "assistant", "content": lm_output}) # remember what the LM said action = parse_action(lm_output) # separate the action from output From fd48207c3bff4109bbbc195befbe13dfdfdab771 Mon Sep 17 00:00:00 2001 From: kiankyars <69437137+kiankyars@users.noreply.github.com> Date: Wed, 8 Apr 2026 16:31:35 -0700 Subject: [PATCH 2/3] Fix variable name for LM output in example --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 447e080..a14299c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -25,8 +25,8 @@ Pseudocode: ```python messages = [{"role": "user", "content": "Help me fix the ValueError in main.py"}] while True: - output = query_lm(messages) - print("LM output", output) + lm_output = query_lm(messages) + print("LM output", lm_output) messages.append({"role": "assistant", "content": lm_output}) # remember what the LM said action = parse_action(lm_output) # separate the action from output print("Action", action) From 294d2c57d5cd98f7239a191b0febed41dc7d038d Mon Sep 17 00:00:00 2001 From: kiankyars <69437137+kiankyars@users.noreply.github.com> Date: Wed, 8 Apr 2026 17:33:48 -0700 Subject: [PATCH 3/3] Correct typo in mini-swe-agent documentation Fix typo in documentation regarding docker execution. --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index a14299c..c40d78e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -611,7 +611,7 @@ class Environment: ``` `mini-swe-agent` provides different environment classes that for example allow to execute actions in docker containers instead of directly in your local environment. -Sonds more complicated? It really isn't: all we do is switch from `subprocess.run` to calls to `docker exec`. +Sounds more complicated? It really isn't: all we do is switch from `subprocess.run` to calls to `docker exec`. ## Contribute to this guide