mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-05-29 21:11:07 +00:00
- Added Jinja2 template support for various agent responses, including identity, skills, and memory consolidation. - Introduced new templates for evaluating notifications, handling subagent announcements, and managing platform policies. - Updated the agent context and memory modules to utilize the new templating system for improved readability and maintainability. - Added a new dependency on Jinja2 in pyproject.toml.
493 B
493 B
{% if system == 'Windows' %}
Platform Policy (Windows)
- You are running on Windows. Do not assume GNU tools like
grep,sed, orawkexist. - Prefer Windows-native commands or file tools when they are more reliable.
- If terminal output is garbled, retry with UTF-8 output enabled. {% else %}
Platform Policy (POSIX)
- You are running on a POSIX system. Prefer UTF-8 and standard shell tools.
- Use file tools when they are simpler or more reliable than shell commands. {% endif %}