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

Commit 37e4229

Browse files
feat(api): update via SDK Studio
1 parent cc8ddf1 commit 37e4229

File tree

3 files changed

+233
-9
lines changed

3 files changed

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

src/resources/responses/input-items.ts

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,39 @@ export namespace InputItemListResponse {
9595
/**
9696
* (Optional) Search results returned by the file search operation
9797
*/
98-
results?: Array<{ [key: string]: boolean | number | string | Array<unknown> | unknown | null }>;
98+
results?: Array<OpenAIResponseOutputMessageFileSearchToolCall.Result>;
99+
}
100+
101+
export namespace OpenAIResponseOutputMessageFileSearchToolCall {
102+
/**
103+
* Search results returned by the file search operation.
104+
*/
105+
export interface Result {
106+
/**
107+
* (Optional) Key-value attributes associated with the file
108+
*/
109+
attributes: { [key: string]: boolean | number | string | Array<unknown> | unknown | null };
110+
111+
/**
112+
* Unique identifier of the file containing the result
113+
*/
114+
file_id: string;
115+
116+
/**
117+
* Name of the file containing the result
118+
*/
119+
filename: string;
120+
121+
/**
122+
* Relevance score for this search result (between 0 and 1)
123+
*/
124+
score: number;
125+
126+
/**
127+
* Text content of the search result
128+
*/
129+
text: string;
130+
}
99131
}
100132

101133
/**

src/resources/responses/responses.ts

Lines changed: 198 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,39 @@ export namespace ResponseObject {
351351
/**
352352
* (Optional) Search results returned by the file search operation
353353
*/
354-
results?: Array<{ [key: string]: boolean | number | string | Array<unknown> | unknown | null }>;
354+
results?: Array<OpenAIResponseOutputMessageFileSearchToolCall.Result>;
355+
}
356+
357+
export namespace OpenAIResponseOutputMessageFileSearchToolCall {
358+
/**
359+
* Search results returned by the file search operation.
360+
*/
361+
export interface Result {
362+
/**
363+
* (Optional) Key-value attributes associated with the file
364+
*/
365+
attributes: { [key: string]: boolean | number | string | Array<unknown> | unknown | null };
366+
367+
/**
368+
* Unique identifier of the file containing the result
369+
*/
370+
file_id: string;
371+
372+
/**
373+
* Name of the file containing the result
374+
*/
375+
filename: string;
376+
377+
/**
378+
* Relevance score for this search result (between 0 and 1)
379+
*/
380+
score: number;
381+
382+
/**
383+
* Text content of the search result
384+
*/
385+
text: string;
386+
}
355387
}
356388

357389
/**
@@ -812,7 +844,39 @@ export namespace ResponseObjectStream {
812844
/**
813845
* (Optional) Search results returned by the file search operation
814846
*/
815-
results?: Array<{ [key: string]: boolean | number | string | Array<unknown> | unknown | null }>;
847+
results?: Array<OpenAIResponseOutputMessageFileSearchToolCall.Result>;
848+
}
849+
850+
export namespace OpenAIResponseOutputMessageFileSearchToolCall {
851+
/**
852+
* Search results returned by the file search operation.
853+
*/
854+
export interface Result {
855+
/**
856+
* (Optional) Key-value attributes associated with the file
857+
*/
858+
attributes: { [key: string]: boolean | number | string | Array<unknown> | unknown | null };
859+
860+
/**
861+
* Unique identifier of the file containing the result
862+
*/
863+
file_id: string;
864+
865+
/**
866+
* Name of the file containing the result
867+
*/
868+
filename: string;
869+
870+
/**
871+
* Relevance score for this search result (between 0 and 1)
872+
*/
873+
score: number;
874+
875+
/**
876+
* Text content of the search result
877+
*/
878+
text: string;
879+
}
816880
}
817881

818882
/**
@@ -1174,7 +1238,39 @@ export namespace ResponseObjectStream {
11741238
/**
11751239
* (Optional) Search results returned by the file search operation
11761240
*/
1177-
results?: Array<{ [key: string]: boolean | number | string | Array<unknown> | unknown | null }>;
1241+
results?: Array<OpenAIResponseOutputMessageFileSearchToolCall.Result>;
1242+
}
1243+
1244+
export namespace OpenAIResponseOutputMessageFileSearchToolCall {
1245+
/**
1246+
* Search results returned by the file search operation.
1247+
*/
1248+
export interface Result {
1249+
/**
1250+
* (Optional) Key-value attributes associated with the file
1251+
*/
1252+
attributes: { [key: string]: boolean | number | string | Array<unknown> | unknown | null };
1253+
1254+
/**
1255+
* Unique identifier of the file containing the result
1256+
*/
1257+
file_id: string;
1258+
1259+
/**
1260+
* Name of the file containing the result
1261+
*/
1262+
filename: string;
1263+
1264+
/**
1265+
* Relevance score for this search result (between 0 and 1)
1266+
*/
1267+
score: number;
1268+
1269+
/**
1270+
* Text content of the search result
1271+
*/
1272+
text: string;
1273+
}
11781274
}
11791275

11801276
/**
@@ -1744,7 +1840,39 @@ export namespace ResponseListResponse {
17441840
/**
17451841
* (Optional) Search results returned by the file search operation
17461842
*/
1747-
results?: Array<{ [key: string]: boolean | number | string | Array<unknown> | unknown | null }>;
1843+
results?: Array<OpenAIResponseOutputMessageFileSearchToolCall.Result>;
1844+
}
1845+
1846+
export namespace OpenAIResponseOutputMessageFileSearchToolCall {
1847+
/**
1848+
* Search results returned by the file search operation.
1849+
*/
1850+
export interface Result {
1851+
/**
1852+
* (Optional) Key-value attributes associated with the file
1853+
*/
1854+
attributes: { [key: string]: boolean | number | string | Array<unknown> | unknown | null };
1855+
1856+
/**
1857+
* Unique identifier of the file containing the result
1858+
*/
1859+
file_id: string;
1860+
1861+
/**
1862+
* Name of the file containing the result
1863+
*/
1864+
filename: string;
1865+
1866+
/**
1867+
* Relevance score for this search result (between 0 and 1)
1868+
*/
1869+
score: number;
1870+
1871+
/**
1872+
* Text content of the search result
1873+
*/
1874+
text: string;
1875+
}
17481876
}
17491877

17501878
/**
@@ -2149,7 +2277,39 @@ export namespace ResponseListResponse {
21492277
/**
21502278
* (Optional) Search results returned by the file search operation
21512279
*/
2152-
results?: Array<{ [key: string]: boolean | number | string | Array<unknown> | unknown | null }>;
2280+
results?: Array<OpenAIResponseOutputMessageFileSearchToolCall.Result>;
2281+
}
2282+
2283+
export namespace OpenAIResponseOutputMessageFileSearchToolCall {
2284+
/**
2285+
* Search results returned by the file search operation.
2286+
*/
2287+
export interface Result {
2288+
/**
2289+
* (Optional) Key-value attributes associated with the file
2290+
*/
2291+
attributes: { [key: string]: boolean | number | string | Array<unknown> | unknown | null };
2292+
2293+
/**
2294+
* Unique identifier of the file containing the result
2295+
*/
2296+
file_id: string;
2297+
2298+
/**
2299+
* Name of the file containing the result
2300+
*/
2301+
filename: string;
2302+
2303+
/**
2304+
* Relevance score for this search result (between 0 and 1)
2305+
*/
2306+
score: number;
2307+
2308+
/**
2309+
* Text content of the search result
2310+
*/
2311+
text: string;
2312+
}
21532313
}
21542314

21552315
/**
@@ -2438,7 +2598,39 @@ export namespace ResponseCreateParams {
24382598
/**
24392599
* (Optional) Search results returned by the file search operation
24402600
*/
2441-
results?: Array<{ [key: string]: boolean | number | string | Array<unknown> | unknown | null }>;
2601+
results?: Array<OpenAIResponseOutputMessageFileSearchToolCall.Result>;
2602+
}
2603+
2604+
export namespace OpenAIResponseOutputMessageFileSearchToolCall {
2605+
/**
2606+
* Search results returned by the file search operation.
2607+
*/
2608+
export interface Result {
2609+
/**
2610+
* (Optional) Key-value attributes associated with the file
2611+
*/
2612+
attributes: { [key: string]: boolean | number | string | Array<unknown> | unknown | null };
2613+
2614+
/**
2615+
* Unique identifier of the file containing the result
2616+
*/
2617+
file_id: string;
2618+
2619+
/**
2620+
* Name of the file containing the result
2621+
*/
2622+
filename: string;
2623+
2624+
/**
2625+
* Relevance score for this search result (between 0 and 1)
2626+
*/
2627+
score: number;
2628+
2629+
/**
2630+
* Text content of the search result
2631+
*/
2632+
text: string;
2633+
}
24422634
}
24432635

24442636
/**

0 commit comments

Comments
 (0)