agent-zero/python
Rafael Uzarowski cc7af97ed3
Fix prompt fence stripping policy
- Restrict code fence stripping to fences at start-of-line (prevents inline "~~~markdown" from being treated as a fence and merging lines)
- Only strip fences for full JSON templates in Agent.read_prompt() and files.parse_file()
- Preserve fenced examples in markdown/tool prompts while keeping json-only prompts parseable
- Add regression tests for fence stripping and prompt fence policy
2025-12-28 22:33:34 +01:00
..
api Merge branch 'pr/846' into development 2025-12-19 16:17:10 +01:00
extensions pipx, subagent paths, alpine directives, CSRF allowed origins autoset 2025-12-19 11:30:08 +01:00
helpers Fix prompt fence stripping policy 2025-12-28 22:33:34 +01:00
tools subagents preparation 2025-11-26 09:07:30 +01:00
__init__.py Docker + SSH, AgentConfig class 2024-07-05 22:58:16 +02:00