hermes-agent/environments
teknium d999d9876d Enhance async tool execution and error handling in Hermes agent for Atropos integration
- Updated `.gitignore` to exclude `testlogs` directory.
- Refactored `handle_web_function_call` in `model_tools.py` to support running async functions in existing event loops, improving compatibility with Atropos.
- Introduced a thread pool executor in `agent_loop.py` for running synchronous tool calls that internally use `asyncio.run()`, preventing deadlocks.
- Added `ToolError` class to track tool execution errors, enhancing error reporting during agent loops.
- Updated `wandb_log` method in `hermes_base_env.py` to log tool error statistics for better monitoring.
- Implemented patches in `patches.py` to ensure async-safe operation of tools within Atropos's event loop.
- Enhanced `ToolContext` and `terminal_tool.py` to utilize the new async handling, improving overall tool execution reliability.
2026-02-08 05:00:47 +00:00
..
configs Add support for Atropos Agentic RL environments (requires branch tool_call_support in Atropos atm) 2026-02-07 09:17:16 +00:00
tool_call_parsers Add support for Atropos Agentic RL environments (requires branch tool_call_support in Atropos atm) 2026-02-07 09:17:16 +00:00
__init__.py Add support for Atropos Agentic RL environments (requires branch tool_call_support in Atropos atm) 2026-02-07 09:17:16 +00:00
agent_loop.py Enhance async tool execution and error handling in Hermes agent for Atropos integration 2026-02-08 05:00:47 +00:00
hermes_base_env.py Enhance async tool execution and error handling in Hermes agent for Atropos integration 2026-02-08 05:00:47 +00:00
hermes_swe_env.py Add support for Atropos Agentic RL environments (requires branch tool_call_support in Atropos atm) 2026-02-07 09:17:16 +00:00
patches.py Enhance async tool execution and error handling in Hermes agent for Atropos integration 2026-02-08 05:00:47 +00:00
terminal_test_env.py Enhance async tool execution and error handling in Hermes agent for Atropos integration 2026-02-08 05:00:47 +00:00
tool_context.py Enhance async tool execution and error handling in Hermes agent for Atropos integration 2026-02-08 05:00:47 +00:00