fixes based on PR suggestions

This commit is contained in:
Marek Wolan
2025-01-21 13:17:42 +00:00
parent 4b79c88ae5
commit c30c5189be
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ class AgentLog:
super().__init__()
self.agent_name = agent_name if agent_name else "unnamed_agent"
self.current_timestep: int = 0
self.current_episode: int = 0
self.current_episode: int = 1
self.setup_logger()
@property

View File

@@ -155,7 +155,7 @@ class AbstractAgent(BaseModel, ABC):
@classmethod
def from_config(cls, config: Dict) -> AbstractAgent:
"""Grab the relevatn agent class and construct an instance from a config dict."""
"""Grab the relevant agent class and construct an instance from a config dict."""
agent_type = config["type"]
agent_class = cls._registry[agent_type]
return agent_class(config=config)