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

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


PromptInjectionScanScope = Union[
    Literal[
        "user_only",
        "all_messages",
    ],
    UnrecognizedStr,
]
r"""Which message roles to scan for prompt injection. Only applies to the regex-prompt-injection builtin. Defaults to all_messages."""
