| 1 |
from __future__ import annotations |
| 2 |
|
| 3 |
from typing import Union |
| 4 |
from typing_extensions import Literal, TypeAlias |
| 5 |
|
| 6 |
__all__ = ["AnthropicBetaParam"] |
| 7 |
|
| 8 |
AnthropicBetaParam: TypeAlias = Union[ |
| 9 |
str, |
| 10 |
Literal[ |
| 11 |
"message-batches-2024-09-24", |
| 12 |
"prompt-caching-2024-07-31", |
| 13 |
"computer-use-2024-10-22", |
| 14 |
"computer-use-2025-01-24", |
| 15 |
"pdfs-2024-09-25", |
| 16 |
"token-counting-2024-11-01", |
| 17 |
"token-efficient-tools-2025-02-19", |
| 18 |
"output-128k-2025-02-19", |
| 19 |
"files-api-2025-04-14", |
| 20 |
"mcp-client-2025-04-04", |
| 21 |
"mcp-client-2025-11-20", |
| 22 |
"dev-full-thinking-2025-05-14", |
| 23 |
"interleaved-thinking-2025-05-14", |
| 24 |
"code-execution-2025-05-22", |
| 25 |
"extended-cache-ttl-2025-04-11", |
| 26 |
"context-1m-2025-08-07", |
| 27 |
"context-management-2025-06-27", |
| 28 |
"model-context-window-exceeded-2025-08-26", |
| 29 |
"skills-2025-10-02", |
| 30 |
"fast-mode-2026-02-01", |
| 31 |
"output-300k-2026-03-24", |
| 32 |
"user-profiles-2026-03-24", |
| 33 |
"user-profiles-2026-08-18", |
| 34 |
"user-profiles-2026-09-04", |
| 35 |
"advisor-tool-2026-03-01", |
| 36 |
"managed-agents-2026-04-01", |
| 37 |
"cache-diagnosis-2026-04-07", |
| 38 |
"dreaming-2026-04-21", |
| 39 |
"thinking-token-count-2026-05-13", |
| 40 |
"server-side-fallback-2026-06-01", |
| 41 |
"server-side-fallback-2026-07-01", |
| 42 |
"fallback-credit-2026-06-01", |
| 43 |
"fallback-credit-2026-07-01", |
| 44 |
"agent-memory-2026-07-22", |
| 45 |
"mid-conversation-tool-changes-2026-07-01", |
| 46 |
"compact-2026-01-12", |
| 47 |
"computer-use-2025-11-24", |
| 48 |
"mcp-tunnels-2026-06-22", |
| 49 |
"structured-outputs-2025-11-13", |
| 50 |
"task-budgets-2026-03-13", |
| 51 |
"thinking-display-updates-2026-08-18", |
| 52 |
"ce-user-management-2026-07-13", |
| 53 |
"mid-conversation-output-config-2026-07-01", |
| 54 |
"thinking-binding-controls-2026-08-01", |
| 55 |
"mid-conversation-system-clear-at-2026-08-21", |
| 56 |
"compact-2026-09-04", |
| 57 |
"inline-tools-2026-09-15", |
| 58 |
"mcp-client-2026-09-15", |
| 59 |
], |
| 60 |
] |