Skip to content

Commit ae10768

Browse files
fix(api): fix errors in api spec
1 parent 1a5b47b commit ae10768

5 files changed

Lines changed: 14 additions & 4 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 91
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-d4d7fd5ad7272db2902decf5c405e138a16b1fed45a697faea32af12a126b782.yml
3-
openapi_spec_hash: d3c28f7234c8c93e3b945bb76c9d57c0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/anthropic%2Fanthropic-6811827071199207cf69c4e64cae1b41e7e74cdb14048e9c748701e474c694a7.yml
3+
openapi_spec_hash: 0feddcbb70c1d373b305f9c95f7df8e6
44
config_hash: c7cdab4e4eb2befb0d99f6db5c3d4737

src/resources/beta/messages/messages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1839,7 +1839,7 @@ export interface BetaOutputConfig {
18391839
/**
18401840
* All possible effort levels.
18411841
*/
1842-
effort?: 'low' | 'medium' | 'high' | 'max' | null;
1842+
effort?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | null;
18431843

18441844
/**
18451845
* A schema to specify Claude's output format in responses. See

src/resources/beta/models.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ export interface BetaEffortCapability {
132132
* Whether this capability is supported by the model.
133133
*/
134134
supported: boolean;
135+
136+
/**
137+
* Indicates whether a capability is supported.
138+
*/
139+
xhigh: BetaCapabilitySupport | null;
135140
}
136141

137142
/**

src/resources/messages/messages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ export interface OutputConfig {
10981098
/**
10991099
* All possible effort levels.
11001100
*/
1101-
effort?: 'low' | 'medium' | 'high' | 'max' | null;
1101+
effort?: 'low' | 'medium' | 'high' | 'xhigh' | 'max' | null;
11021102

11031103
/**
11041104
* A schema to specify Claude's output format in responses. See

src/resources/models.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,11 @@ export interface EffortCapability {
117117
* Whether this capability is supported by the model.
118118
*/
119119
supported: boolean;
120+
121+
/**
122+
* Indicates whether a capability is supported.
123+
*/
124+
xhigh: CapabilitySupport | null;
120125
}
121126

122127
/**

0 commit comments

Comments
 (0)