mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-22 16:48:57 +00:00
restructure config_init...
This commit is contained in:
parent
bb658631e9
commit
e2128b817e
1 changed files with 2 additions and 5 deletions
|
|
@ -238,14 +238,11 @@ class BaseEnv(ABC):
|
|||
@classmethod
|
||||
def config_init(
|
||||
cls,
|
||||
) -> Union[
|
||||
Tuple[BaseEnvConfig, Union[ServerBaseline, List[APIServerConfig]]],
|
||||
Tuple[BaseEnvConfig, Union[ServerBaseline, List[APIServerConfig]], Any],
|
||||
]:
|
||||
) -> Tuple[BaseEnvConfig, Union[ServerBaseline, List[APIServerConfig]]]:
|
||||
"""
|
||||
Initialize the config
|
||||
"""
|
||||
return cls.env_config_cls(), ServerBaseline(), None
|
||||
return cls.env_config_cls(), ServerBaseline()
|
||||
|
||||
async def collect_trajectory(
|
||||
self, item: Item
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue