Skip to content

Commit 28e4767

Browse files
feat: Wire through parallel_tool_calls to Responses API
1 parent 1e8115a commit 28e4767

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
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: 103
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-aab1b331382f758fc255f765e73b62fedf463cf0748bc11b2b08974de9ac816a.yml
3-
openapi_spec_hash: f717a21f47419aa51e4d9298aa68cc45
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-185ec058880381a5526ac91a488af1833f55656e36cd10b3795eb8fd4d75026f.yml
3+
openapi_spec_hash: fa935c08e25d23cff624e5e150f8e6ca
44
config_hash: 39578cfdeb4a10121f2cb3fa3e4d5e20

src/resources/responses/responses.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export interface ResponseObject {
113113

114114
object?: 'response';
115115

116-
parallel_tool_calls?: boolean;
116+
parallel_tool_calls?: boolean | null;
117117

118118
previous_response_id?: string | null;
119119

@@ -2029,7 +2029,7 @@ export interface ResponseListResponse {
20292029

20302030
object?: 'response';
20312031

2032-
parallel_tool_calls?: boolean;
2032+
parallel_tool_calls?: boolean | null;
20332033

20342034
previous_response_id?: string | null;
20352035

@@ -3000,6 +3000,8 @@ export interface ResponseCreateParamsBase {
30003000

30013001
max_tool_calls?: number | null;
30023002

3003+
parallel_tool_calls?: boolean | null;
3004+
30033005
previous_response_id?: string | null;
30043006

30053007
/**

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ describe('resource responses', () => {
3232
instructions: 'instructions',
3333
max_infer_iters: 0,
3434
max_tool_calls: 0,
35+
parallel_tool_calls: true,
3536
previous_response_id: 'previous_response_id',
3637
prompt: { id: 'id', variables: { foo: { text: 'text', type: 'input_text' } }, version: 'version' },
3738
store: true,

0 commit comments

Comments
 (0)