def __init__(self, outputs: list[dict | str]):
        """Model that outputs a predetermined sequence of messages. Useful for testing."""
        self._outputs = outputs
        self._idx = -1
        self.stats = InstanceStats()
Model that outputs a predetermined sequence of messages. Useful for testing.
sweagent/agent/models.py