diff --git a/src/forge/controller/actor.py b/src/forge/controller/actor.py index 3734145d1..6f8e6d095 100644 --- a/src/forge/controller/actor.py +++ b/src/forge/controller/actor.py @@ -89,7 +89,7 @@ def options( ) return type( - f"{cls.__name__}Configured", + f"{cls.__name__}Service", (cls,), {"_service_config": cfg}, ) @@ -109,7 +109,7 @@ async def as_service(cls: Type[T], **actor_kwargs) -> "ServiceInterface": if cfg is None: cfg = ServiceConfig(num_replicas=1, procs_per_replica=1) # dynamically create a configured subclass for consistency - cls = type(f"{cls.__name__}Configured", (cls,), {"_service_config": cfg}) + cls = type(f"{cls.__name__}Service", (cls,), {"_service_config": cfg}) logger.info("Spawning Service Actor for %s", cls.__name__) service = Service(cfg, cls, actor_kwargs)