BaseEnv
Environment interface for agents.
Source code in utu/env/base_env.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | |
get_state
abstractmethod
get_state() -> str
Get the current state of the environment.
Source code in utu/env/base_env.py
10 11 12 13 | |
get_tools
abstractmethod
async
get_tools() -> list[Tool]
Get the tools available in the environment.
Source code in utu/env/base_env.py
15 16 17 18 | |
build
async
build()
Build the environment.
Source code in utu/env/base_env.py
20 21 22 | |
cleanup
async
cleanup()
Cleanup the environment.
Source code in utu/env/base_env.py
24 25 26 | |