Files
EvoScientist-Multi/tests/test_hitl_interrupt_config.py
Xi Zhang f81a8b086e feat(deps): upgrade deepagents to 0.7.0 with todos restore and delete gating- #395
- Introduced TodoListMiddleware to the middleware stack for better task management.
- Updated HITL interrupt configuration to include 'delete' operations requiring approval.
- Implemented error handling for delete operations in read-only and memory backends.
- Enhanced approval prompt formatting to display file paths for delete actions.
- Added tests to ensure delete operations are correctly blocked or prompted for approval.
- Updated dependencies to use deepagents 0.7.0 and langchain 1.5.3 for improved functionality.
2026-07-30 10:41:12 +01:00

13 lines
346 B
Python

"""HITL interrupt policy: which tools require approval on attended agents."""
def test_hitl_interrupt_on_arms_expected_tools():
from EvoScientist.EvoScientist import HITL_INTERRUPT_ON
assert HITL_INTERRUPT_ON == {
"execute": True,
"run_in_background": True,
"schedule_task": True,
"delete": True,
}