mini-swe-agent 1.16.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. mini_swe_agent-1.16.0.dist-info/METADATA +314 -0
  2. mini_swe_agent-1.16.0.dist-info/RECORD +62 -0
  3. mini_swe_agent-1.16.0.dist-info/WHEEL +5 -0
  4. mini_swe_agent-1.16.0.dist-info/entry_points.txt +5 -0
  5. mini_swe_agent-1.16.0.dist-info/licenses/LICENSE.md +21 -0
  6. mini_swe_agent-1.16.0.dist-info/top_level.txt +1 -0
  7. minisweagent/__init__.py +83 -0
  8. minisweagent/__main__.py +7 -0
  9. minisweagent/agents/__init__.py +1 -0
  10. minisweagent/agents/default.py +131 -0
  11. minisweagent/agents/interactive.py +153 -0
  12. minisweagent/agents/interactive_textual.py +450 -0
  13. minisweagent/config/README.md +10 -0
  14. minisweagent/config/__init__.py +27 -0
  15. minisweagent/config/default.yaml +157 -0
  16. minisweagent/config/extra/__init__.py +1 -0
  17. minisweagent/config/extra/swebench.yaml +230 -0
  18. minisweagent/config/extra/swebench_roulette.yaml +233 -0
  19. minisweagent/config/extra/swebench_xml.yaml +215 -0
  20. minisweagent/config/github_issue.yaml +146 -0
  21. minisweagent/config/mini.tcss +86 -0
  22. minisweagent/config/mini.yaml +158 -0
  23. minisweagent/config/mini_no_temp.yaml +158 -0
  24. minisweagent/environments/__init__.py +31 -0
  25. minisweagent/environments/docker.py +114 -0
  26. minisweagent/environments/extra/__init__.py +0 -0
  27. minisweagent/environments/extra/bubblewrap.py +112 -0
  28. minisweagent/environments/extra/swerex_docker.py +47 -0
  29. minisweagent/environments/local.py +38 -0
  30. minisweagent/environments/singularity.py +97 -0
  31. minisweagent/models/__init__.py +114 -0
  32. minisweagent/models/anthropic.py +35 -0
  33. minisweagent/models/extra/__init__.py +0 -0
  34. minisweagent/models/extra/roulette.py +61 -0
  35. minisweagent/models/litellm_model.py +100 -0
  36. minisweagent/models/litellm_response_api_model.py +80 -0
  37. minisweagent/models/openrouter_model.py +125 -0
  38. minisweagent/models/portkey_model.py +154 -0
  39. minisweagent/models/portkey_response_api_model.py +74 -0
  40. minisweagent/models/requesty_model.py +119 -0
  41. minisweagent/models/test_models.py +42 -0
  42. minisweagent/models/utils/__init__.py +0 -0
  43. minisweagent/models/utils/cache_control.py +54 -0
  44. minisweagent/models/utils/key_per_thread.py +20 -0
  45. minisweagent/models/utils/openai_utils.py +41 -0
  46. minisweagent/py.typed +0 -0
  47. minisweagent/run/__init__.py +1 -0
  48. minisweagent/run/extra/__init__.py +0 -0
  49. minisweagent/run/extra/config.py +114 -0
  50. minisweagent/run/extra/swebench.py +266 -0
  51. minisweagent/run/extra/swebench_single.py +79 -0
  52. minisweagent/run/extra/utils/__init__.py +0 -0
  53. minisweagent/run/extra/utils/batch_progress.py +178 -0
  54. minisweagent/run/github_issue.py +87 -0
  55. minisweagent/run/hello_world.py +36 -0
  56. minisweagent/run/inspector.py +212 -0
  57. minisweagent/run/mini.py +108 -0
  58. minisweagent/run/mini_extra.py +44 -0
  59. minisweagent/run/utils/__init__.py +0 -0
  60. minisweagent/run/utils/save.py +78 -0
  61. minisweagent/utils/__init__.py +0 -0
  62. minisweagent/utils/log.py +36 -0
@@ -0,0 +1,215 @@
1
+ agent:
2
+ system_template: |
3
+ You are a helpful assistant that can interact multiple times with a computer shell to solve programming tasks.
4
+ Your response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).
5
+
6
+ Include a THOUGHT section before your command where you explain your reasoning process.
7
+ Format your response as shown in <format_example>.
8
+
9
+ <format_example>
10
+ THOUGHT: Your reasoning and analysis here
11
+
12
+ <bash_code>your_command_here</bash_code>
13
+ </format_example>
14
+
15
+ Failure to follow these rules will cause your response to be rejected.
16
+ instance_template: |
17
+ <pr_description>
18
+ Consider the following PR description:
19
+ {{task}}
20
+ </pr_description>
21
+
22
+ <instructions>
23
+ # Task Instructions
24
+
25
+ ## Overview
26
+ You're a software engineer interacting continuously with a computer by submitting commands.
27
+ You'll be helping implement necessary changes to meet requirements in the PR description.
28
+ Your task is specifically to make changes to non-test files in the current directory in order to fix the issue described in the PR description in a way that is general and consistent with the codebase.
29
+
30
+ IMPORTANT: This is an interactive process where you will think and issue ONE command, see its result, then think and issue your next command.
31
+
32
+ For each response:
33
+ 1. Include a THOUGHT section explaining your reasoning and what you're trying to accomplish
34
+ 2. Provide exactly ONE bash command to execute
35
+
36
+ ## Important Boundaries
37
+ - MODIFY: Regular source code files in /testbed (this is the working directory for all your subsequent commands)
38
+ - DO NOT MODIFY: Tests, configuration files (pyproject.toml, setup.cfg, etc.)
39
+
40
+ ## Recommended Workflow
41
+ 1. Analyze the codebase by finding and reading relevant files
42
+ 2. Create a script to reproduce the issue
43
+ 3. Edit the source code to resolve the issue
44
+ 4. Verify your fix works by running your script again
45
+ 5. Test edge cases to ensure your fix is robust
46
+
47
+ ## Command Execution Rules
48
+ You are operating in an environment where
49
+ 1. You write a single command
50
+ 2. The system executes that command in a subshell
51
+ 3. You see the result
52
+ 4. You write your next command
53
+
54
+ Each response should include:
55
+ 1. A **THOUGHT** section where you explain your reasoning and plan
56
+ 2. A single bash code block with your command
57
+
58
+ Format your responses like included within the <format_example> block:
59
+
60
+ <format_example>
61
+ THOUGHT: Here I explain my reasoning process, analysis of the current situation,
62
+ and what I'm trying to accomplish with the command below.
63
+
64
+ <bash_code>your_command_here </bash_code></format_example>
65
+
66
+ **CRITICAL REQUIREMENTS:**
67
+ - Your response SHOULD include a THOUGHT section explaining your reasoning
68
+ - Your response MUST include EXACTLY ONE bash code block
69
+ - This bash block MUST contain EXACTLY ONE command (or a set of commands connected with && or ||)
70
+ - If you include zero or multiple bash blocks, or no command at all, YOUR RESPONSE WILL FAIL
71
+ - Do NOT try to run multiple independent commands in separate blocks in one response
72
+ - Directory or environment variable changes are not persistent. Every action is executed in a new subshell.
73
+ - However, you can prefix any action with `MY_ENV_VAR=MY_VALUE cd /path/to/working/dir && ...` or write/load environment variables from files
74
+
75
+ Example of a CORRECT response:
76
+
77
+ <example_response>
78
+ THOUGHT: I need to understand the structure of the repository first. Let me check what files are in the current directory to get a better understanding of the codebase.
79
+
80
+ <bash_code>ls -la</bash_code>
81
+ </example_response>
82
+
83
+ Example of an INCORRECT response:
84
+
85
+ <example_response>
86
+ THOUGHT: I need to examine the codebase and then look at a specific file. I'll run multiple commands to do this.
87
+
88
+ <bash_code>ls -la</bash_code>
89
+
90
+ Now I'll read the file:
91
+
92
+ <bash_code>cat file.txt</bash_code>
93
+ </example_response>
94
+
95
+ If you need to run multiple commands, either:
96
+
97
+ 1. Combine them in one block using && or ||
98
+
99
+ <bash_code>command1 && command2 || echo "Error occurred"</bash_code>
100
+
101
+ 2. Wait for the first command to complete, see its output, then issue the next command in your following response.
102
+
103
+ ## Environment Details
104
+
105
+ - You have a full Linux shell environment
106
+ - Always use non-interactive flags (-y, -f) for commands
107
+ - Avoid interactive tools like vi, nano, or any that require user input
108
+ - If a command isn't available, you can install it
109
+
110
+ ## Useful Command Examples
111
+
112
+ ### Create a new file:
113
+
114
+ <bash_code>cat <<'EOF' > newfile.py
115
+ import numpy as np
116
+ hello = "world"
117
+ print(hello)
118
+ EOF</bash_code>
119
+
120
+ ### Edit files with sed:
121
+
122
+ Replace all occurrences
123
+
124
+ <bash_code>sed -i 's/old_string/new_string/g' filename.py</bash_code>
125
+
126
+ Replace only first occurrence
127
+
128
+ <bash_code>sed -i 's/old_string/new_string/' filename.py</bash_code>
129
+
130
+ Replace first occurrence on line 1
131
+
132
+ <bash_code>sed -i '1s/old_string/new_string/' filename.py</bash_code>
133
+
134
+ Replace all occurrences in lines 1-10
135
+
136
+ <bash_code>sed -i '1,10s/old_string/new_string/g' filename.py</bash_code>
137
+
138
+ ### View file content:
139
+
140
+ View specific lines with numbers
141
+
142
+ <bash_code> nl -ba filename.py | sed -n '10,20p'</bash_code>
143
+
144
+ Any other command you want to run
145
+
146
+ <bash_code>anything</bash_code>
147
+
148
+ ## Submission
149
+
150
+ When you've completed your work (reading, editing, testing), and cannot make further progress
151
+ issue exactly the following command:
152
+
153
+ <bash_code>echo COMPLETE_TASK_AND_SUBMIT_FINAL_OUTPUT && git add -A && git diff --cached</bash_code>
154
+
155
+ This command will submit your work.
156
+ You cannot continue working (reading, editing, testing) in any way on this task after submitting.
157
+ </instructions>
158
+ action_observation_template: |
159
+ <returncode>{{output.returncode}}</returncode>
160
+ {% if output.output | length < 10000 -%}
161
+ <output>
162
+ {{ output.output -}}
163
+ </output>
164
+ {%- else -%}
165
+ <warning>
166
+ The output of your last command was too long.
167
+ Please try a different command that produces less output.
168
+ If you're looking at a file you can try use head, tail or sed to view a smaller number of lines selectively.
169
+ If you're using grep or find and it produced too much output, you can use a more selective search pattern.
170
+ If you really need to see something from the full command's output, you can redirect output to a file and then search in that file.
171
+ </warning>
172
+ {%- set elided_chars = output.output | length - 10000 -%}
173
+ <output_head>
174
+ {{ output.output[:5000] }}
175
+ </output_head>
176
+ <elided_chars>
177
+ {{ elided_chars }} characters elided
178
+ </elided_chars>
179
+ <output_tail>
180
+ {{ output.output[-5000:] }}
181
+ </output_tail>
182
+ {%- endif -%}
183
+ format_error_template: |
184
+ Please always provide EXACTLY ONE action in the `<bash_code>` block, found {{actions|length}} actions.
185
+
186
+ Please format your action in a `<bash_code>` block as shown in <response_example>.
187
+
188
+ <response_example>
189
+ Here are some thoughts about why you want to perform the action.
190
+
191
+ <bash_code>ls -la</bash_code>
192
+ </response_example>
193
+
194
+ If you have completed your assignment, please consult the first message about how to
195
+ submit your solution (you will not be able to continue working on this task after that).
196
+ step_limit: 250
197
+ cost_limit: 3.
198
+ action_regex: <bash_code>(.*?)</bash_code>
199
+
200
+ environment:
201
+ cwd: "/testbed"
202
+ timeout: 60
203
+ env:
204
+ PAGER: cat
205
+ MANPAGER: cat
206
+ LESS: -R
207
+ PIP_PROGRESS_BAR: 'off'
208
+ TQDM_DISABLE: '1'
209
+ environment_class: docker
210
+
211
+ model:
212
+ model_name: "minimax/minimax-m2"
213
+ model_class: openrouter
214
+ model_kwargs:
215
+ temperature: 0.0
@@ -0,0 +1,146 @@
1
+ agent:
2
+ system_template: |
3
+ You are a helpful assistant that can interact with a computer.
4
+
5
+ Your response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).
6
+ Include a THOUGHT section before your command where you explain your reasoning process.
7
+ Format your response as shown in <format_example>.
8
+
9
+ <format_example>
10
+ Your reasoning and analysis here. Explain why you want to perform the action.
11
+
12
+ ```bash
13
+ your_command_here
14
+ ```
15
+ </format_example>
16
+
17
+ Failure to follow these rules will cause your response to be rejected.
18
+ To finish, issue the following command: `echo COMPLETE_TASK_AND_SUBMIT_FINAL_OUTPUT`
19
+ without any other command.
20
+ instance_template: |
21
+ Please solve this issue: {{task}}
22
+
23
+ You can execute bash commands and edit files to implement the necessary changes.
24
+
25
+ ## Recommended Workflow
26
+ 1. Analyze the codebase by finding and reading relevant files
27
+ 2. Create a script to reproduce the issue
28
+ 3. Edit the source code to resolve the issue
29
+ 4. Verify your fix works by running your script again
30
+ 5. Test edge cases to ensure your fix is robust
31
+
32
+ ## Important Rules
33
+
34
+ 1. Every response must contain exactly one action
35
+ 2. The action must be enclosed in triple backticks
36
+ 3. Directory or environment variable changes are not persistent. Every action is executed in a new subshell.
37
+ However, you can prefix any action with `MY_ENV_VAR=MY_VALUE cd /path/to/working/dir && ...` or write/load environment variables from files
38
+ 4. To finish, issue the following command: `echo COMPLETE_TASK_AND_SUBMIT_FINAL_OUTPUT`.
39
+ Do not combine it with any other command.
40
+
41
+ ## Formatting your response
42
+
43
+ Here is an example of a correct response:
44
+
45
+ <example_response>
46
+ THOUGHT: I need to understand the structure of the repository first. Let me check what files are in the current directory to get a better understanding of the codebase.
47
+
48
+ ```bash
49
+ ls -la
50
+ ```
51
+ </example_response>
52
+
53
+ ## Useful command examples
54
+
55
+ ### Create a new file:
56
+
57
+ ```bash
58
+ cat <<'EOF' > newfile.py
59
+ import numpy as np
60
+ hello = "world"
61
+ print(hello)
62
+ EOF
63
+ ```
64
+
65
+ ### Edit files with sed:
66
+
67
+ ```bash
68
+ # Replace all occurrences
69
+ sed -i 's/old_string/new_string/g' filename.py
70
+
71
+ # Replace only first occurrence
72
+ sed -i 's/old_string/new_string/' filename.py
73
+
74
+ # Replace first occurrence on line 1
75
+ sed -i '1s/old_string/new_string/' filename.py
76
+
77
+ # Replace all occurrences in lines 1-10
78
+ sed -i '1,10s/old_string/new_string/g' filename.py
79
+ ```
80
+
81
+ ### View file content:
82
+
83
+ ```bash
84
+ # View specific lines with numbers
85
+ nl -ba filename.py | sed -n '10,20p'
86
+ ```
87
+
88
+ ### Any other command you want to run
89
+
90
+ ```bash
91
+ anything
92
+ ```
93
+ action_observation_template: |
94
+ <returncode>{{output.returncode}}</returncode>
95
+ {% if output.output | length < 10000 -%}
96
+ <output>
97
+ {{ output.output -}}
98
+ </output>
99
+ {%- else -%}
100
+ <warning>
101
+ The output of your last command was too long.
102
+ Please try a different command that produces less output.
103
+ If you're looking at a file you can try use head, tail or sed to view a smaller number of lines selectively.
104
+ If you're using grep or find and it produced too much output, you can use a more selective search pattern.
105
+ If you really need to see something from the full command's output, you can redirect output to a file and then search in that file.
106
+ </warning>
107
+ {%- set elided_chars = output.output | length - 10000 -%}
108
+ <output_head>
109
+ {{ output.output[:5000] }}
110
+ </output_head>
111
+ <elided_chars>
112
+ {{ elided_chars }} characters elided
113
+ </elided_chars>
114
+ <output_tail>
115
+ {{ output.output[-5000:] }}
116
+ </output_tail>
117
+ {%- endif -%}
118
+ format_error_template: |
119
+ Please always provide EXACTLY ONE action in triple backticks, found {{actions|length}} actions.
120
+ If you want to end the task, please issue the following command: `echo COMPLETE_TASK_AND_SUBMIT_FINAL_OUTPUT`
121
+ without any other command.
122
+ Else, please format your response exactly as follows:
123
+
124
+ <response_example>
125
+ Here are some thoughts about why you want to perform the action.
126
+
127
+ ```bash
128
+ <action>
129
+ ```
130
+ </response_example>
131
+ step_limit: 0.
132
+ cost_limit: 0.
133
+
134
+ environment:
135
+ image: "python:3.11"
136
+ cwd: "/testbed"
137
+ env:
138
+ PAGER: cat
139
+ MANPAGER: cat
140
+ LESS: -R
141
+ PIP_PROGRESS_BAR: 'off'
142
+ TQDM_DISABLE: '1'
143
+ model:
144
+ model_kwargs:
145
+ temperature: 0.0
146
+ drop_params: true
@@ -0,0 +1,86 @@
1
+ Screen {
2
+ layout: grid;
3
+ grid-size: 1;
4
+ grid-rows: auto 1fr auto;
5
+ }
6
+
7
+ #main {
8
+ height: 100%;
9
+ padding: 1;
10
+ layout: vertical;
11
+ }
12
+
13
+ Footer {
14
+ dock: bottom;
15
+ content-align: center middle;
16
+ }
17
+
18
+ #content {
19
+ height: auto;
20
+ min-height: 0;
21
+ }
22
+
23
+ .smart-input-container {
24
+ height: auto;
25
+ margin-top: 0;
26
+ padding: 0;
27
+ min-height: 0;
28
+ }
29
+
30
+ .multi-input {
31
+ height: auto;
32
+ max-height: 20;
33
+ min-height: 3;
34
+ }
35
+
36
+ .prompt-display {
37
+ margin-bottom: 1;
38
+ padding: 0 1;
39
+ text-style: bold;
40
+ }
41
+
42
+ .hint-text{
43
+ margin-top: 1;
44
+ margin-bottom: 1;
45
+ padding: 0 1;
46
+ color: white;
47
+ }
48
+
49
+ .message-container {
50
+ margin: 1;
51
+ padding: 1;
52
+ background: $surface;
53
+ height: auto;
54
+ width: 100%;
55
+ }
56
+
57
+ .message-header {
58
+ text-align: left;
59
+ color: $primary;
60
+ padding: 0 1;
61
+ text-style: bold;
62
+ }
63
+
64
+ .input-request-header {
65
+ color: $warning;
66
+ }
67
+
68
+ .message-content {
69
+ margin-top: 1;
70
+ padding: 0 1;
71
+ }
72
+
73
+ Header.running {
74
+ background: $error;
75
+ }
76
+
77
+ .button-container {
78
+ layout: horizontal;
79
+ align-horizontal: center;
80
+ margin-top: 1;
81
+ }
82
+
83
+ .button-container Button {
84
+ margin: 0 1;
85
+ min-width: 10;
86
+ }
@@ -0,0 +1,158 @@
1
+ agent:
2
+ system_template: |
3
+ You are a helpful assistant that can interact with a computer.
4
+
5
+ Your response must contain exactly ONE bash code block with ONE command (or commands connected with && or ||).
6
+ Include a THOUGHT section before your command where you explain your reasoning process.
7
+ Format your response as shown in <format_example>.
8
+
9
+ <format_example>
10
+ Your reasoning and analysis here. Explain why you want to perform the action.
11
+
12
+ ```bash
13
+ your_command_here
14
+ ```
15
+ </format_example>
16
+
17
+ Failure to follow these rules will cause your response to be rejected.
18
+ instance_template: |
19
+ Please solve this issue: {{task}}
20
+
21
+ You can execute bash commands and edit files to implement the necessary changes.
22
+
23
+ ## Recommended Workflow
24
+
25
+ This workflows should be done step-by-step so that you can iterate on your changes and any possible problems.
26
+
27
+ 1. Analyze the codebase by finding and reading relevant files
28
+ 2. Create a script to reproduce the issue
29
+ 3. Edit the source code to resolve the issue
30
+ 4. Verify your fix works by running your script again
31
+ 5. Test edge cases to ensure your fix is robust
32
+ 6. Submit your changes and finish your work by issuing the following command: `echo COMPLETE_TASK_AND_SUBMIT_FINAL_OUTPUT`.
33
+ Do not combine it with any other command. <important>After this command, you cannot continue working on this task.</important>
34
+
35
+ ## Important Rules
36
+
37
+ 1. Every response must contain exactly one action
38
+ 2. The action must be enclosed in triple backticks
39
+ 3. Directory or environment variable changes are not persistent. Every action is executed in a new subshell.
40
+ However, you can prefix any action with `MY_ENV_VAR=MY_VALUE cd /path/to/working/dir && ...` or write/load environment variables from files
41
+
42
+ <system_information>
43
+ {{system}} {{release}} {{version}} {{machine}}
44
+ </system_information>
45
+
46
+ ## Formatting your response
47
+
48
+ Here is an example of a correct response:
49
+
50
+ <example_response>
51
+ THOUGHT: I need to understand the structure of the repository first. Let me check what files are in the current directory to get a better understanding of the codebase.
52
+
53
+ ```bash
54
+ ls -la
55
+ ```
56
+ </example_response>
57
+
58
+ ## Useful command examples
59
+
60
+ ### Create a new file:
61
+
62
+ ```bash
63
+ cat <<'EOF' > newfile.py
64
+ import numpy as np
65
+ hello = "world"
66
+ print(hello)
67
+ EOF
68
+ ```
69
+
70
+ ### Edit files with sed:
71
+
72
+ {%- if system == "Darwin" -%}
73
+ <important>
74
+ You are on MacOS. For all the below examples, you need to use `sed -i ''` instead of `sed -i`.
75
+ </important>
76
+ {%- endif -%}
77
+
78
+ ```bash
79
+ # Replace all occurrences
80
+ sed -i 's/old_string/new_string/g' filename.py
81
+
82
+ # Replace only first occurrence
83
+ sed -i 's/old_string/new_string/' filename.py
84
+
85
+ # Replace first occurrence on line 1
86
+ sed -i '1s/old_string/new_string/' filename.py
87
+
88
+ # Replace all occurrences in lines 1-10
89
+ sed -i '1,10s/old_string/new_string/g' filename.py
90
+ ```
91
+
92
+ ### View file content:
93
+
94
+ ```bash
95
+ # View specific lines with numbers
96
+ nl -ba filename.py | sed -n '10,20p'
97
+ ```
98
+
99
+ ### Any other command you want to run
100
+
101
+ ```bash
102
+ anything
103
+ ```
104
+ action_observation_template: |
105
+ <returncode>{{output.returncode}}</returncode>
106
+ {% if output.output | length < 10000 -%}
107
+ <output>
108
+ {{ output.output -}}
109
+ </output>
110
+ {%- else -%}
111
+ <warning>
112
+ The output of your last command was too long.
113
+ Please try a different command that produces less output.
114
+ If you're looking at a file you can try use head, tail or sed to view a smaller number of lines selectively.
115
+ If you're using grep or find and it produced too much output, you can use a more selective search pattern.
116
+ If you really need to see something from the full command's output, you can redirect output to a file and then search in that file.
117
+ </warning>
118
+ {%- set elided_chars = output.output | length - 10000 -%}
119
+ <output_head>
120
+ {{ output.output[:5000] }}
121
+ </output_head>
122
+ <elided_chars>
123
+ {{ elided_chars }} characters elided
124
+ </elided_chars>
125
+ <output_tail>
126
+ {{ output.output[-5000:] }}
127
+ </output_tail>
128
+ {%- endif -%}
129
+ format_error_template: |
130
+ Please always provide EXACTLY ONE action in triple backticks, found {{actions|length}} actions.
131
+ If you want to end the task, please issue the following command: `echo COMPLETE_TASK_AND_SUBMIT_FINAL_OUTPUT`
132
+ without any other command.
133
+ Else, please format your response exactly as follows:
134
+
135
+ <response_example>
136
+ Here are some thoughts about why you want to perform the action.
137
+
138
+ ```bash
139
+ <action>
140
+ ```
141
+ </response_example>
142
+
143
+ Note: In rare cases, if you need to reference a similar format in your command, you might have
144
+ to proceed in two steps, first writing TRIPLEBACKTICKSBASH, then replacing them with ```bash.
145
+ step_limit: 0.
146
+ cost_limit: 3.
147
+ mode: confirm
148
+ environment:
149
+ env:
150
+ PAGER: cat
151
+ MANPAGER: cat
152
+ LESS: -R
153
+ PIP_PROGRESS_BAR: 'off'
154
+ TQDM_DISABLE: '1'
155
+ model:
156
+ model_kwargs:
157
+ temperature: 0.0
158
+ drop_params: true