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

Commit 2601695

Browse files
feat(api): update via SDK Studio
1 parent 6151932 commit 2601695

File tree

6 files changed

+143
-9
lines changed

6 files changed

+143
-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/llama_stack_client/types/response_create_params.py

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"InputUnionMember1",
1111
"InputUnionMember1OpenAIResponseOutputMessageWebSearchToolCall",
1212
"InputUnionMember1OpenAIResponseOutputMessageFileSearchToolCall",
13+
"InputUnionMember1OpenAIResponseOutputMessageFileSearchToolCallResult",
1314
"InputUnionMember1OpenAIResponseOutputMessageFunctionToolCall",
1415
"InputUnionMember1OpenAIResponseInputFunctionToolCallOutput",
1516
"InputUnionMember1OpenAIResponseMessage",
@@ -81,6 +82,23 @@ class InputUnionMember1OpenAIResponseOutputMessageWebSearchToolCall(TypedDict, t
8182
"""Tool call type identifier, always "web_search_call" """
8283

8384

85+
class InputUnionMember1OpenAIResponseOutputMessageFileSearchToolCallResult(TypedDict, total=False):
86+
attributes: Required[Dict[str, Union[bool, float, str, Iterable[object], object, None]]]
87+
"""(Optional) Key-value attributes associated with the file"""
88+
89+
file_id: Required[str]
90+
"""Unique identifier of the file containing the result"""
91+
92+
filename: Required[str]
93+
"""Name of the file containing the result"""
94+
95+
score: Required[float]
96+
"""Relevance score for this search result (between 0 and 1)"""
97+
98+
text: Required[str]
99+
"""Text content of the search result"""
100+
101+
84102
class InputUnionMember1OpenAIResponseOutputMessageFileSearchToolCall(TypedDict, total=False):
85103
id: Required[str]
86104
"""Unique identifier for this tool call"""
@@ -94,7 +112,7 @@ class InputUnionMember1OpenAIResponseOutputMessageFileSearchToolCall(TypedDict,
94112
type: Required[Literal["file_search_call"]]
95113
"""Tool call type identifier, always "file_search_call" """
96114

97-
results: Iterable[Dict[str, Union[bool, float, str, Iterable[object], object, None]]]
115+
results: Iterable[InputUnionMember1OpenAIResponseOutputMessageFileSearchToolCallResult]
98116
"""(Optional) Search results returned by the file search operation"""
99117

100118

src/llama_stack_client/types/response_list_response.py

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"Input",
1414
"InputOpenAIResponseOutputMessageWebSearchToolCall",
1515
"InputOpenAIResponseOutputMessageFileSearchToolCall",
16+
"InputOpenAIResponseOutputMessageFileSearchToolCallResult",
1617
"InputOpenAIResponseOutputMessageFunctionToolCall",
1718
"InputOpenAIResponseInputFunctionToolCallOutput",
1819
"InputOpenAIResponseMessage",
@@ -38,6 +39,7 @@
3839
"OutputOpenAIResponseMessageContentUnionMember2AnnotationOpenAIResponseAnnotationFilePath",
3940
"OutputOpenAIResponseOutputMessageWebSearchToolCall",
4041
"OutputOpenAIResponseOutputMessageFileSearchToolCall",
42+
"OutputOpenAIResponseOutputMessageFileSearchToolCallResult",
4143
"OutputOpenAIResponseOutputMessageFunctionToolCall",
4244
"OutputOpenAIResponseOutputMessageMcpCall",
4345
"OutputOpenAIResponseOutputMessageMcpListTools",
@@ -59,6 +61,23 @@ class InputOpenAIResponseOutputMessageWebSearchToolCall(BaseModel):
5961
"""Tool call type identifier, always "web_search_call" """
6062

6163

64+
class InputOpenAIResponseOutputMessageFileSearchToolCallResult(BaseModel):
65+
attributes: Dict[str, Union[bool, float, str, List[object], object, None]]
66+
"""(Optional) Key-value attributes associated with the file"""
67+
68+
file_id: str
69+
"""Unique identifier of the file containing the result"""
70+
71+
filename: str
72+
"""Name of the file containing the result"""
73+
74+
score: float
75+
"""Relevance score for this search result (between 0 and 1)"""
76+
77+
text: str
78+
"""Text content of the search result"""
79+
80+
6281
class InputOpenAIResponseOutputMessageFileSearchToolCall(BaseModel):
6382
id: str
6483
"""Unique identifier for this tool call"""
@@ -72,7 +91,7 @@ class InputOpenAIResponseOutputMessageFileSearchToolCall(BaseModel):
7291
type: Literal["file_search_call"]
7392
"""Tool call type identifier, always "file_search_call" """
7493

75-
results: Optional[List[Dict[str, Union[bool, float, str, List[object], object, None]]]] = None
94+
results: Optional[List[InputOpenAIResponseOutputMessageFileSearchToolCallResult]] = None
7695
"""(Optional) Search results returned by the file search operation"""
7796

7897

@@ -356,6 +375,23 @@ class OutputOpenAIResponseOutputMessageWebSearchToolCall(BaseModel):
356375
"""Tool call type identifier, always "web_search_call" """
357376

358377

378+
class OutputOpenAIResponseOutputMessageFileSearchToolCallResult(BaseModel):
379+
attributes: Dict[str, Union[bool, float, str, List[object], object, None]]
380+
"""(Optional) Key-value attributes associated with the file"""
381+
382+
file_id: str
383+
"""Unique identifier of the file containing the result"""
384+
385+
filename: str
386+
"""Name of the file containing the result"""
387+
388+
score: float
389+
"""Relevance score for this search result (between 0 and 1)"""
390+
391+
text: str
392+
"""Text content of the search result"""
393+
394+
359395
class OutputOpenAIResponseOutputMessageFileSearchToolCall(BaseModel):
360396
id: str
361397
"""Unique identifier for this tool call"""
@@ -369,7 +405,7 @@ class OutputOpenAIResponseOutputMessageFileSearchToolCall(BaseModel):
369405
type: Literal["file_search_call"]
370406
"""Tool call type identifier, always "file_search_call" """
371407

372-
results: Optional[List[Dict[str, Union[bool, float, str, List[object], object, None]]]] = None
408+
results: Optional[List[OutputOpenAIResponseOutputMessageFileSearchToolCallResult]] = None
373409
"""(Optional) Search results returned by the file search operation"""
374410

375411

src/llama_stack_client/types/response_object.py

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"OutputOpenAIResponseMessageContentUnionMember2AnnotationOpenAIResponseAnnotationFilePath",
2424
"OutputOpenAIResponseOutputMessageWebSearchToolCall",
2525
"OutputOpenAIResponseOutputMessageFileSearchToolCall",
26+
"OutputOpenAIResponseOutputMessageFileSearchToolCallResult",
2627
"OutputOpenAIResponseOutputMessageFunctionToolCall",
2728
"OutputOpenAIResponseOutputMessageMcpCall",
2829
"OutputOpenAIResponseOutputMessageMcpListTools",
@@ -158,6 +159,23 @@ class OutputOpenAIResponseOutputMessageWebSearchToolCall(BaseModel):
158159
"""Tool call type identifier, always "web_search_call" """
159160

160161

162+
class OutputOpenAIResponseOutputMessageFileSearchToolCallResult(BaseModel):
163+
attributes: Dict[str, Union[bool, float, str, List[object], object, None]]
164+
"""(Optional) Key-value attributes associated with the file"""
165+
166+
file_id: str
167+
"""Unique identifier of the file containing the result"""
168+
169+
filename: str
170+
"""Name of the file containing the result"""
171+
172+
score: float
173+
"""Relevance score for this search result (between 0 and 1)"""
174+
175+
text: str
176+
"""Text content of the search result"""
177+
178+
161179
class OutputOpenAIResponseOutputMessageFileSearchToolCall(BaseModel):
162180
id: str
163181
"""Unique identifier for this tool call"""
@@ -171,7 +189,7 @@ class OutputOpenAIResponseOutputMessageFileSearchToolCall(BaseModel):
171189
type: Literal["file_search_call"]
172190
"""Tool call type identifier, always "file_search_call" """
173191

174-
results: Optional[List[Dict[str, Union[bool, float, str, List[object], object, None]]]] = None
192+
results: Optional[List[OutputOpenAIResponseOutputMessageFileSearchToolCallResult]] = None
175193
"""(Optional) Search results returned by the file search operation"""
176194

177195

src/llama_stack_client/types/response_object_stream.py

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseMessageContentUnionMember2AnnotationOpenAIResponseAnnotationFilePath",
2525
"OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageWebSearchToolCall",
2626
"OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageFileSearchToolCall",
27+
"OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageFileSearchToolCallResult",
2728
"OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageFunctionToolCall",
2829
"OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageMcpCall",
2930
"OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageMcpListTools",
@@ -42,6 +43,7 @@
4243
"OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseMessageContentUnionMember2AnnotationOpenAIResponseAnnotationFilePath",
4344
"OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageWebSearchToolCall",
4445
"OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageFileSearchToolCall",
46+
"OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageFileSearchToolCallResult",
4547
"OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageFunctionToolCall",
4648
"OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageMcpCall",
4749
"OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageMcpListTools",
@@ -214,6 +216,25 @@ class OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputM
214216
"""Tool call type identifier, always "web_search_call" """
215217

216218

219+
class OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageFileSearchToolCallResult(
220+
BaseModel
221+
):
222+
attributes: Dict[str, Union[bool, float, str, List[object], object, None]]
223+
"""(Optional) Key-value attributes associated with the file"""
224+
225+
file_id: str
226+
"""Unique identifier of the file containing the result"""
227+
228+
filename: str
229+
"""Name of the file containing the result"""
230+
231+
score: float
232+
"""Relevance score for this search result (between 0 and 1)"""
233+
234+
text: str
235+
"""Text content of the search result"""
236+
237+
217238
class OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageFileSearchToolCall(BaseModel):
218239
id: str
219240
"""Unique identifier for this tool call"""
@@ -227,7 +248,9 @@ class OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputM
227248
type: Literal["file_search_call"]
228249
"""Tool call type identifier, always "file_search_call" """
229250

230-
results: Optional[List[Dict[str, Union[bool, float, str, List[object], object, None]]]] = None
251+
results: Optional[
252+
List[OpenAIResponseObjectStreamResponseOutputItemAddedItemOpenAIResponseOutputMessageFileSearchToolCallResult]
253+
] = None
231254
"""(Optional) Search results returned by the file search operation"""
232255

233256

@@ -470,6 +493,25 @@ class OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMe
470493
"""Tool call type identifier, always "web_search_call" """
471494

472495

496+
class OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageFileSearchToolCallResult(
497+
BaseModel
498+
):
499+
attributes: Dict[str, Union[bool, float, str, List[object], object, None]]
500+
"""(Optional) Key-value attributes associated with the file"""
501+
502+
file_id: str
503+
"""Unique identifier of the file containing the result"""
504+
505+
filename: str
506+
"""Name of the file containing the result"""
507+
508+
score: float
509+
"""Relevance score for this search result (between 0 and 1)"""
510+
511+
text: str
512+
"""Text content of the search result"""
513+
514+
473515
class OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageFileSearchToolCall(BaseModel):
474516
id: str
475517
"""Unique identifier for this tool call"""
@@ -483,7 +525,9 @@ class OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMe
483525
type: Literal["file_search_call"]
484526
"""Tool call type identifier, always "file_search_call" """
485527

486-
results: Optional[List[Dict[str, Union[bool, float, str, List[object], object, None]]]] = None
528+
results: Optional[
529+
List[OpenAIResponseObjectStreamResponseOutputItemDoneItemOpenAIResponseOutputMessageFileSearchToolCallResult]
530+
] = None
487531
"""(Optional) Search results returned by the file search operation"""
488532

489533

src/llama_stack_client/types/responses/input_item_list_response.py

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"Data",
1212
"DataOpenAIResponseOutputMessageWebSearchToolCall",
1313
"DataOpenAIResponseOutputMessageFileSearchToolCall",
14+
"DataOpenAIResponseOutputMessageFileSearchToolCallResult",
1415
"DataOpenAIResponseOutputMessageFunctionToolCall",
1516
"DataOpenAIResponseInputFunctionToolCallOutput",
1617
"DataOpenAIResponseMessage",
@@ -37,6 +38,23 @@ class DataOpenAIResponseOutputMessageWebSearchToolCall(BaseModel):
3738
"""Tool call type identifier, always "web_search_call" """
3839

3940

41+
class DataOpenAIResponseOutputMessageFileSearchToolCallResult(BaseModel):
42+
attributes: Dict[str, Union[bool, float, str, List[object], object, None]]
43+
"""(Optional) Key-value attributes associated with the file"""
44+
45+
file_id: str
46+
"""Unique identifier of the file containing the result"""
47+
48+
filename: str
49+
"""Name of the file containing the result"""
50+
51+
score: float
52+
"""Relevance score for this search result (between 0 and 1)"""
53+
54+
text: str
55+
"""Text content of the search result"""
56+
57+
4058
class DataOpenAIResponseOutputMessageFileSearchToolCall(BaseModel):
4159
id: str
4260
"""Unique identifier for this tool call"""
@@ -50,7 +68,7 @@ class DataOpenAIResponseOutputMessageFileSearchToolCall(BaseModel):
5068
type: Literal["file_search_call"]
5169
"""Tool call type identifier, always "file_search_call" """
5270

53-
results: Optional[List[Dict[str, Union[bool, float, str, List[object], object, None]]]] = None
71+
results: Optional[List[DataOpenAIResponseOutputMessageFileSearchToolCallResult]] = None
5472
"""(Optional) Search results returned by the file search operation"""
5573

5674

0 commit comments

Comments
 (0)