import ray from archonbot.protocol__plugin.model_protocol.modelbase import ModelBase @ray.remote class ConsciousnessNode: def __init__(self): self.model_id : str self.path : str self.adapter : str self.name : str self.model_method : ModelBase async def get_model(self): return await self.model_method.get_model async def post_message(self): return await self.model_method.post_message