Skip to content

Commit 08c61db

Browse files
feat(api): add claude-opus-4-1-20250805
1 parent b39f98c commit 08c61db

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-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-e35574542a0e97f5127bac86f280bce8aaffa9d8d0bb90b5994ff132b31072e1.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-43f38b1226d74e1e6093196a1a9585c240e656a463f5791ffe32c8910726f55b.yml
33
openapi_spec_hash: f09142bb93ac7ed78f4dc1a47af7b5ed
4-
config_hash: c92437595d9a0a24b952a739cdae304d
4+
config_hash: 7154b62ac6eb8c65499cf4d876d618d4

src/internal/constants.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ export const MODEL_NONSTREAMING_TOKENS: Record<string, number> = {
99
'claude-4-opus-20250514': 8192,
1010
'anthropic.claude-opus-4-20250514-v1:0': 8192,
1111
'claude-opus-4@20250514': 8192,
12+
'claude-opus-4-1-20250805': 8192,
13+
'anthropic.claude-opus-4-1-20250805-v1:0': 8192,
14+
'claude-opus-4-1@20250805': 8192,
1215
};

src/resources/messages/messages.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ export type Model =
512512
| 'claude-opus-4-0'
513513
| 'claude-opus-4-20250514'
514514
| 'claude-4-opus-20250514'
515+
| 'claude-opus-4-1-20250805'
515516
| 'claude-3-opus-latest'
516517
| 'claude-3-opus-20240229'
517518
| 'claude-3-haiku-20240307'

0 commit comments

Comments
 (0)