Skip to content

Commit e90d347

Browse files
committed
fix(structured outputs): use correct beta header
1 parent 49fe6ed commit e90d347

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/anthropic/resources/beta/messages/messages.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,9 +1076,9 @@ def parse(
10761076

10771077
betas = [beta for beta in betas] if is_given(betas) else []
10781078

1079-
if "structured-outputs-2025-09-17" not in betas:
1079+
if "structured-outputs-2025-11-13" not in betas:
10801080
# Ensure structured outputs beta is included for parse method
1081-
betas.append("structured-outputs-2025-09-17")
1081+
betas.append("structured-outputs-2025-11-13")
10821082

10831083
extra_headers = {
10841084
"X-Stainless-Helper": "beta.messages.parse",
@@ -2688,9 +2688,9 @@ async def parse(
26882688
)
26892689
betas = [beta for beta in betas] if is_given(betas) else []
26902690

2691-
if "structured-outputs-2025-09-17" not in betas:
2691+
if "structured-outputs-2025-11-13" not in betas:
26922692
# Ensure structured outputs beta is included for parse method
2693-
betas.append("structured-outputs-2025-09-17")
2693+
betas.append("structured-outputs-2025-11-13")
26942694

26952695
extra_headers = {
26962696
"X-Stainless-Helper": "beta.messages.parse",

0 commit comments

Comments
 (0)