☰
Debian Codegraph
@
1.9.0-1
1.8.0-1
1.0.0-1
/
/
src
/
anthropic
/
types
/
stop_reason.py
☽
☼
src/anthropic/types/stop_reason.py
code
plain
raw
MIT
2023 Anthropic, PBC. <
[email protected]
>
debian/copyright
1
from typing_extensions import Literal, TypeAlias
2
3
__all__ = ["StopReason"]
4
5
StopReason: TypeAlias = Literal[
6
"end_turn", "max_tokens", "stop_sequence", "tool_use", "pause_turn", "refusal", "model_context_window_exceeded"
7
]