Skip to content

Commit c0a1a2e

Browse files
stainless-app[bot]meorphis
authored andcommitted
feat(api): OpenAPI spec update via Stainless API (#82)
1 parent 4eb038b commit c0a1a2e

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 21
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/prompt-foundry%2Fprompt-foundry-sdk-bb0c2179ddf83834412606080e40f875436162cb81210f5af52c5f14aeb9c35b.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/prompt-foundry%2Fprompt-foundry-sdk-f30a850ec208f2c5cde3101faff73304656182d65e1f101e104fc935f5d32c18.yml

src/resources/prompts.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,8 @@ export namespace PromptConfiguration {
347347
*/
348348
modelName: string;
349349

350+
parallelToolCalls: boolean;
351+
350352
/**
351353
* Example: 0
352354
*/
@@ -486,6 +488,8 @@ export namespace PromptCreateParams {
486488
*/
487489
modelName: string;
488490

491+
parallelToolCalls: boolean;
492+
489493
/**
490494
* Example: 0
491495
*/
@@ -597,6 +601,8 @@ export namespace PromptUpdateParams {
597601
*/
598602
modelName: string;
599603

604+
parallelToolCalls: boolean;
605+
600606
/**
601607
* Example: 0
602608
*/

tests/api-resources/prompts.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ describe('resource prompts', () => {
5555
seed: 0,
5656
toolChoice: 'string',
5757
stream: true,
58+
parallelToolCalls: true,
5859
},
5960
tools: [{ toolId: 'string' }, { toolId: 'string' }, { toolId: 'string' }],
6061
});
@@ -113,6 +114,7 @@ describe('resource prompts', () => {
113114
seed: 0,
114115
toolChoice: 'string',
115116
stream: true,
117+
parallelToolCalls: true,
116118
},
117119
tools: [{ toolId: 'string' }, { toolId: 'string' }, { toolId: 'string' }],
118120
});
@@ -164,6 +166,7 @@ describe('resource prompts', () => {
164166
seed: 0,
165167
toolChoice: 'string',
166168
stream: true,
169+
parallelToolCalls: true,
167170
},
168171
tools: [{ toolId: 'string' }, { toolId: 'string' }, { toolId: 'string' }],
169172
});
@@ -222,6 +225,7 @@ describe('resource prompts', () => {
222225
seed: 0,
223226
toolChoice: 'string',
224227
stream: true,
228+
parallelToolCalls: true,
225229
},
226230
tools: [{ toolId: 'string' }, { toolId: 'string' }, { toolId: 'string' }],
227231
});

0 commit comments

Comments
 (0)