AgentVerse's picture
bump version to 0.1.8
01523b5
raw
history blame contribute delete
446 Bytes
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):
@abstractmethod
def get_next_agent_idx(self, environment: BaseEnvironment) -> List[int]:
"""Return the index of the next agent to speak"""
def reset(self) -> None:
pass