Skip to content

Commit b12c86f

Browse files
chore(client): add model-context-window-exceeded-2025-08-26 beta header
1 parent 067535d commit b12c86f

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 26
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-fcf7231118f0af5d687971176bdce5a7a5effd1ba4d9fb937f30f26289f35d6b.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-bf322c093e459a35404f84c71dbdf4133c6d1ec0e2c8b0a52226a672344a1a97.yml
33
openapi_spec_hash: 592d90505082223899e0638ad56ba162
4-
config_hash: 98e00a1d3d57d183719c637f0c623535
4+
config_hash: 9f18bb8d1f1cf1e270e8e0783e4f5ee4

lib/anthropic/models/anthropic_beta.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ module AnthropicBeta
3939

4040
variant const: -> { Anthropic::Models::AnthropicBeta::CONTEXT_MANAGEMENT_2025_06_27 }
4141

42+
variant const: -> { Anthropic::Models::AnthropicBeta::MODEL_CONTEXT_WINDOW_EXCEEDED_2025_08_26 }
43+
4244
# @!method self.variants
4345
# @return [Array(String, Symbol)]
4446

@@ -64,6 +66,7 @@ module AnthropicBeta
6466
EXTENDED_CACHE_TTL_2025_04_11 = :"extended-cache-ttl-2025-04-11"
6567
CONTEXT_1M_2025_08_07 = :"context-1m-2025-08-07"
6668
CONTEXT_MANAGEMENT_2025_06_27 = :"context-management-2025-06-27"
69+
MODEL_CONTEXT_WINDOW_EXCEEDED_2025_08_26 = :"model-context-window-exceeded-2025-08-26"
6770

6871
# @!endgroup
6972
end

rbi/anthropic/models/anthropic_beta.rbi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ module Anthropic
8080
:"context-management-2025-06-27",
8181
Anthropic::AnthropicBeta::TaggedSymbol
8282
)
83+
MODEL_CONTEXT_WINDOW_EXCEEDED_2025_08_26 =
84+
T.let(
85+
:"model-context-window-exceeded-2025-08-26",
86+
Anthropic::AnthropicBeta::TaggedSymbol
87+
)
8388
end
8489
end
8590
end

sig/anthropic/models/anthropic_beta.rbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ module Anthropic
1818
| :"extended-cache-ttl-2025-04-11"
1919
| :"context-1m-2025-08-07"
2020
| :"context-management-2025-06-27"
21+
| :"model-context-window-exceeded-2025-08-26"
2122

2223
module AnthropicBeta
2324
extend Anthropic::Internal::Type::Union
@@ -40,6 +41,7 @@ module Anthropic
4041
EXTENDED_CACHE_TTL_2025_04_11: :"extended-cache-ttl-2025-04-11"
4142
CONTEXT_1M_2025_08_07: :"context-1m-2025-08-07"
4243
CONTEXT_MANAGEMENT_2025_06_27: :"context-management-2025-06-27"
44+
MODEL_CONTEXT_WINDOW_EXCEEDED_2025_08_26: :"model-context-window-exceeded-2025-08-26"
4345
end
4446
end
4547
end

0 commit comments

Comments
 (0)