Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

221 B
Raw Blame
class SessionError(ValueError):
    """A refusal with a stable `code` a caller over HTTP can act on."""

    def __init__(self, code: str, message: str) -> None:
        super().__init__(message)
        self.code = code