mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 12:43:16 +00:00
fix: Add important prompting to always call tools (#1009)
This commit is contained in:
parent
d18318404b
commit
a1fcb23498
1 changed files with 5 additions and 1 deletions
|
|
@ -9,7 +9,11 @@ All code execution and file operations happen in this sandbox environment.
|
|||
**Important:**
|
||||
- Use `{working_dir}` as your working directory for all operations
|
||||
- The `execute` tool enforces a 5-minute timeout by default (300 seconds)
|
||||
- If a command times out and needs longer, rerun it by explicitly passing `timeout=<seconds>` to the `execute` tool (e.g. `timeout=600` for 10 minutes)"""
|
||||
- If a command times out and needs longer, rerun it by explicitly passing `timeout=<seconds>` to the `execute` tool (e.g. `timeout=600` for 10 minutes)
|
||||
|
||||
IMPORTANT: You must ALWAYS call a tool in EVERY SINGLE TURN. If you don't call a tool, the session will end and you won't be able to resume without the user manually restarting you.
|
||||
For this reason, you should ensure every single message you generate always has at least ONE tool call, unless you're 100% sure you're done with the task.
|
||||
"""
|
||||
|
||||
|
||||
TASK_OVERVIEW_SECTION = """---
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue