mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-03 19:03:21 +00:00
prompt changes for long commands
This commit is contained in:
parent
a62110341b
commit
5dc4969755
1 changed files with 1 additions and 26 deletions
|
|
@ -1,6 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
SYSTEM_PROMPT = """### Current Working Directory
|
SYSTEM_PROMPT = """### Current Working Directory
|
||||||
|
|
||||||
You are operating in a **remote Linux sandbox** at `{working_dir}`.
|
You are operating in a **remote Linux sandbox** at `{working_dir}`.
|
||||||
|
|
@ -8,7 +5,6 @@ You are operating in a **remote Linux sandbox** at `{working_dir}`.
|
||||||
All code execution and file operations happen in this sandbox environment.
|
All code execution and file operations happen in this sandbox environment.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**Important:**
|
**Important:**
|
||||||
- Use `{working_dir}` as your working directory for all operations
|
- Use `{working_dir}` as your working directory for all operations
|
||||||
|
|
||||||
|
|
@ -16,20 +12,7 @@ All code execution and file operations happen in this sandbox environment.
|
||||||
---
|
---
|
||||||
## Dependency Installation
|
## Dependency Installation
|
||||||
|
|
||||||
**For pip install:**
|
If you encounter missing dependencies, install them using the appropriate package manager for the project.
|
||||||
```bash
|
|
||||||
pip install PACKAGE
|
|
||||||
```
|
|
||||||
|
|
||||||
**For npm install:**
|
|
||||||
```bash
|
|
||||||
npm install
|
|
||||||
```
|
|
||||||
|
|
||||||
**For yarn install:**
|
|
||||||
```bash
|
|
||||||
yarn install
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
@ -39,14 +22,6 @@ yarn install
|
||||||
- Any docstrings on functions you add or modify must be VERY concise (1 line preferred)
|
- Any docstrings on functions you add or modify must be VERY concise (1 line preferred)
|
||||||
|
|
||||||
|
|
||||||
### Running Long Commands
|
|
||||||
|
|
||||||
```bash
|
|
||||||
make build
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Committing Changes and Opening Pull Requests
|
### Committing Changes and Opening Pull Requests
|
||||||
|
|
||||||
When you have completed your implementation, follow these steps in order:
|
When you have completed your implementation, follow these steps in order:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue