Spaces:
Runtime error
Runtime error
| from __future__ import annotations | |
| from abc import abstractmethod | |
| from typing import TYPE_CHECKING, Any, List | |
| from pydantic import BaseModel | |
| if TYPE_CHECKING: | |
| from agentverse.environments import BaseEnvironment | |
| class BaseOrder(BaseModel): | |
| def get_next_agent_idx(self, environment: BaseEnvironment) -> List[int]: | |
| """Return the index of the next agent to speak""" | |
| def reset(self) -> None: | |
| pass | |