dmahan93
d198a647e2
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-11 06:52:55 -07:00
dmahan93
2c97bf3936
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-11 06:51:26 -07:00