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

@@ -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)