agent-zero/tests
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
..
chunk_parser_test.py File Tree: Fixed other tests to make full test suite functional 2025-11-09 15:13:04 +01:00
email_parser_test.py File Tree: Fixed other tests to make full test suite functional 2025-11-09 15:13:04 +01:00
rate_limiter_test.py projects continued 2025-11-03 16:17:12 +01:00
test_fasta2a_client.py File Tree: Fixed other tests to make full test suite functional 2025-11-09 15:13:04 +01:00
test_file_tree_visualize.py File Tree: fixed handling of limits 2025-11-10 00:45:28 +01:00
test_prompt_fence_policy.py Fix prompt fence stripping policy 2025-12-28 22:33:34 +01:00
test_remove_code_fences.py Fix prompt fence stripping policy 2025-12-28 22:33:34 +01:00