Spaces:
Build error
Build error
File size: 452 Bytes
01523b5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
from __future__ import annotations
from typing import TYPE_CHECKING, Any
from . import visibility_registry as VisibilityRegistry
from .base import BaseVisibility
if TYPE_CHECKING:
from agentverse.environments import BaseEnvironment
@VisibilityRegistry.register("all")
class AllVisibility(BaseVisibility):
"""All the messages can be seen by all the agents"""
def update_visible_agents(self, environment: BaseEnvironment):
pass
|