dmahan93
3dbeaea3dc
fix: guard all atroposlib imports for CI without atropos installed
...
- environments/__init__.py: try/except on atroposlib imports so
submodules like tool_call_parsers remain importable standalone
- test_agent_loop.py, test_tool_call_parsers.py,
test_managed_server_tool_support.py: skip at module level when
atroposlib is missing
2026-03-09 23:33:24 -05:00
dmahan93
92cb77eaa7
Add tests for atropos tool calling integration
...
- test_tool_call_parsers.py: 16 tests for parser registry, hermes parser
(single/multiple/truncated/malformed), and ParseResult contract validation
- test_agent_loop.py: 21 tests for HermesAgentLoop with mock servers
(text responses, tool calls, max turns, unknown tools, API errors,
extra_body forwarding, managed state, blocked tools, reasoning extraction)
- test_managed_server_tool_support.py: 9 tests validating API compatibility
between hermes-agent and atroposlib's ManagedServer tool_call_parser support
(gracefully skips on baseline atroposlib, passes on tool_call_support branch)
2026-03-09 15:42:16 -05:00