"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""

from __future__ import annotations
from openrouter.types import UnrecognizedStr
from typing import Literal, Union


PipelineStageType = Union[
    Literal[
        "guardrail",
        "plugin",
        "server_tools",
        "response_healing",
        "context_compression",
    ],
    UnrecognizedStr,
]
r"""Categorical kind of a pipeline stage. Multiple plugins can share a type (e.g. all guardrail-level plugins emit `guardrail`); the `name` field disambiguates which plugin emitted it."""
