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:
Zamil Majdy
2026-04-02 14:39:35 +02:00
parent 79c5a10f75
commit 2d04584c84

View File

@@ -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