Skip to content
This repository was archived by the owner on Aug 14, 2025. It is now read-only.

Commit add2c59

Browse files
feat(api): update via SDK Studio
1 parent e402b8d commit add2c59

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
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: 106
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-c371abef4463f174f8d35ef3da4697fae5eb221db615f9c305319196472f313b.yml
3-
openapi_spec_hash: d9bb62faf229c2c2875c732715e9cfd1
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-83f6df45d805a86b006e19d7e3e2decdfaba03af9b2a7bb8a5080d8801ee0838.yml
3+
openapi_spec_hash: a08671c120ecd7142115b61b5728e537
44
config_hash: e67fd054e95c1e82f78f4b834e96bb65

src/resources/moderations.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,11 @@ export namespace CreateResponse {
5555
category_applied_input_types?: { [key: string]: Array<string> };
5656

5757
/**
58-
* A list of the categories along with their scores as predicted by model.
58+
* A list of the categories along with their scores as predicted by model. Required
59+
* set of categories that need to be in response - violence - violence/graphic -
60+
* harassment - harassment/threatening - hate - hate/threatening - illicit -
61+
* illicit/violent - sexual - sexual/minors - self-harm - self-harm/intent -
62+
* self-harm/instructions
5963
*/
6064
category_scores?: { [key: string]: number };
6165

src/resources/responses/responses.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2355,6 +2355,11 @@ export interface ResponseCreateParamsBase {
23552355
*/
23562356
model: string;
23572357

2358+
/**
2359+
* (Optional) Additional fields to include in the response.
2360+
*/
2361+
include?: Array<string>;
2362+
23582363
instructions?: string;
23592364

23602365
max_infer_iters?: number;

tests/api-resources/responses/responses.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ describe('resource responses', () => {
2121
const response = await client.responses.create({
2222
input: 'string',
2323
model: 'model',
24+
include: ['string'],
2425
instructions: 'instructions',
2526
max_infer_iters: 0,
2627
previous_response_id: 'previous_response_id',

0 commit comments

Comments
 (0)