api-debug-env / client.py
PROTHAM
Fix final phase 1 and phase 2 inference and scoring issues
4423d13
Raw
History Blame Contribute Delete
538 Bytes
try:
from openenv.core.client import EnvClient
except ImportError:
try:
from openenv.core.env_client import EnvClient
except ImportError:
from openenv.core import EnvClient
from models import APIAction, APIObservation, APIState
class APIDebugEnv(EnvClient[APIAction, APIObservation, APIState]):
def __init__(self, base_url: str = "http://localhost:7860"):
super().__init__(
base_url=base_url,
action_type=APIAction,
observation_type=APIObservation,
)