mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fix(backend/copilot): correct outdated E2B bridge threshold in system prompt
The prompt said files >5 MB go to /home/user/ but the actual threshold was lowered to 32 KB. Replace with a generic description that avoids hardcoding the threshold and directs the model to the [Sandbox copy available at ...] annotation instead.
This commit is contained in:
@@ -152,8 +152,8 @@ parent autopilot handles orchestration.
|
||||
_E2B_TOOL_NOTES = """
|
||||
### SDK tool-result files in E2B
|
||||
When you `Read` an SDK tool-result file, it is automatically copied into the
|
||||
sandbox at `/tmp/<filename>` (or `/home/user/<filename>` for files >5 MB)
|
||||
so `bash_exec` can access it for further processing.
|
||||
sandbox so `bash_exec` can access it for further processing.
|
||||
The exact sandbox path is shown in the `[Sandbox copy available at ...]` note.
|
||||
|
||||
### GitHub CLI (`gh`) and git
|
||||
- If the user has connected their GitHub account, both `gh` and `git` are
|
||||
|
||||
Reference in New Issue
Block a user