refactor: remove security notes from system prompt

- Eliminated the security notes section from the code execution system prompt to streamline the instructions and focus on user guidance.
This commit is contained in:
DESKTOP-RTLN3BA\$punk 2026-02-25 01:56:16 -08:00
parent e574a7c38b
commit 96595d3ff7

View file

@ -723,12 +723,6 @@ When the user asks you to analyze data:
2. Clean and validate before computing (handle nulls, check types) 2. Clean and validate before computing (handle nulls, check types)
3. Perform the analysis and present results clearly 3. Perform the analysis and present results clearly
4. Offer follow-up insights or visualizations when appropriate 4. Offer follow-up insights or visualizations when appropriate
## Security Notes
- The sandbox is fully isolated you cannot access the host system, the user's local files, or any secrets
- Each conversation thread has its own sandbox environment
- Installed packages and created files can persist for the thread while its sandbox is active; cleanup depends on sandbox lifecycle/deletion policy
</code_execution> </code_execution>
""" """