Spaces:
Running
Running
Download models.py from FineEnvs/PortSimEnv: direct link, hf CLI and curl.
- Browser
- Download file 427 Bytes
-
https://huggingface.co/spaces/FineEnvs/PortSimEnv/resolve/main/models.py
- Command line
-
hf download hf://spaces/FineEnvs/PortSimEnv/models.py
-
curl -L -o models.py https://huggingface.co/spaces/FineEnvs/PortSimEnv/resolve/main/models.py
427 Bytes
| """PortSimEnv v1 types: MCP tool calls in, tool results out, and the episode state.""" | |
| from openenv.core.env_server.mcp_types import CallToolAction, CallToolObservation, ListToolsAction | |
| try: | |
| from berth_openenv.environment import BerthState | |
| except ImportError: # the client alone does not need the server package | |
| BerthState = None | |
| __all__ = ["BerthState", "CallToolAction", "CallToolObservation", "ListToolsAction"] | |