Skip to content

Commit 53907e7

Browse files
feat(api): manual updates??!
1 parent 21394fc commit 53907e7

File tree

11 files changed

+9
-895
lines changed

11 files changed

+9
-895
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 104
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-ab75f403b95703f8fe6c284da9efc1cc09d91cb27a4aa4da8660c825b56ddd02.yml
3-
openapi_spec_hash: 10f4950f76234968692b748956c83d52
4-
config_hash: a3829dbdaa491194d01f399784d532cd
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-35c6569e5e9fcc85084c9728eb7fc7c5908297fcc77043d621d25de3c850a990.yml
3+
openapi_spec_hash: 0f95bbeee16f3205d36ec34cfa62c711
4+
config_hash: fa14a2107881931b2ddef8c768eeb558

api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ Types:
276276

277277
Methods:
278278

279-
- <code title="get /v1/inspect/routes">client.routes.<a href="./src/resources/routes.ts">list</a>({ ...params }) -> RouteListResponse</code>
279+
- <code title="get /v1/inspect/routes">client.routes.<a href="./src/resources/routes.ts">list</a>() -> RouteListResponse</code>
280280

281281
# Moderations
282282

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {
3434
import { HealthInfo, Inspect, ProviderInfo, RouteInfo, VersionInfo } from './resources/inspect';
3535
import { CreateResponse, ModerationCreateParams, Moderations } from './resources/moderations';
3636
import { ListProvidersResponse, ProviderListResponse, Providers } from './resources/providers';
37-
import { ListRoutesResponse, RouteListParams, RouteListResponse, Routes } from './resources/routes';
37+
import { ListRoutesResponse, RouteListResponse, Routes } from './resources/routes';
3838
import { RunShieldResponse, Safety, SafetyRunShieldParams } from './resources/safety';
3939
import {
4040
Scoring,
@@ -455,7 +455,6 @@ export declare namespace LlamaStackClient {
455455
Routes as Routes,
456456
type ListRoutesResponse as ListRoutesResponse,
457457
type RouteListResponse as RouteListResponse,
458-
type RouteListParams as RouteListParams,
459458
};
460459

461460
export {

src/resources/conversations/conversations.ts

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ export namespace ConversationCreateParams {
109109
| Array<
110110
| OpenAIResponseMessage.OpenAIResponseInputMessageContentText
111111
| OpenAIResponseMessage.OpenAIResponseInputMessageContentImage
112-
| OpenAIResponseMessage.OpenAIResponseInputMessageContentFile
113112
>
114113
| Array<
115114
| OpenAIResponseMessage.OpenAIResponseOutputMessageContentOutputText
@@ -155,47 +154,12 @@ export namespace ConversationCreateParams {
155154
*/
156155
type: 'input_image';
157156

158-
/**
159-
* (Optional) The ID of the file to be sent to the model.
160-
*/
161-
file_id?: string;
162-
163157
/**
164158
* (Optional) URL of the image content
165159
*/
166160
image_url?: string;
167161
}
168162

169-
/**
170-
* File content for input messages in OpenAI response format.
171-
*/
172-
export interface OpenAIResponseInputMessageContentFile {
173-
/**
174-
* The type of the input item. Always `input_file`.
175-
*/
176-
type: 'input_file';
177-
178-
/**
179-
* The data of the file to be sent to the model.
180-
*/
181-
file_data?: string;
182-
183-
/**
184-
* (Optional) The ID of the file to be sent to the model.
185-
*/
186-
file_id?: string;
187-
188-
/**
189-
* The URL of the file to be sent to the model.
190-
*/
191-
file_url?: string;
192-
193-
/**
194-
* The name of the file to be sent to the model.
195-
*/
196-
filename?: string;
197-
}
198-
199163
export interface OpenAIResponseOutputMessageContentOutputText {
200164
annotations: Array<
201165
| OpenAIResponseOutputMessageContentOutputText.OpenAIResponseAnnotationFileCitation

src/resources/conversations/items.ts

Lines changed: 0 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ export namespace ItemCreateResponse {
9595
| Array<
9696
| OpenAIResponseMessage.OpenAIResponseInputMessageContentText
9797
| OpenAIResponseMessage.OpenAIResponseInputMessageContentImage
98-
| OpenAIResponseMessage.OpenAIResponseInputMessageContentFile
9998
>
10099
| Array<
101100
| OpenAIResponseMessage.OpenAIResponseOutputMessageContentOutputText
@@ -141,47 +140,12 @@ export namespace ItemCreateResponse {
141140
*/
142141
type: 'input_image';
143142

144-
/**
145-
* (Optional) The ID of the file to be sent to the model.
146-
*/
147-
file_id?: string;
148-
149143
/**
150144
* (Optional) URL of the image content
151145
*/
152146
image_url?: string;
153147
}
154148

155-
/**
156-
* File content for input messages in OpenAI response format.
157-
*/
158-
export interface OpenAIResponseInputMessageContentFile {
159-
/**
160-
* The type of the input item. Always `input_file`.
161-
*/
162-
type: 'input_file';
163-
164-
/**
165-
* The data of the file to be sent to the model.
166-
*/
167-
file_data?: string;
168-
169-
/**
170-
* (Optional) The ID of the file to be sent to the model.
171-
*/
172-
file_id?: string;
173-
174-
/**
175-
* The URL of the file to be sent to the model.
176-
*/
177-
file_url?: string;
178-
179-
/**
180-
* The name of the file to be sent to the model.
181-
*/
182-
filename?: string;
183-
}
184-
185149
export interface OpenAIResponseOutputMessageContentOutputText {
186150
annotations: Array<
187151
| OpenAIResponseOutputMessageContentOutputText.OpenAIResponseAnnotationFileCitation
@@ -569,7 +533,6 @@ export namespace ItemListResponse {
569533
| Array<
570534
| OpenAIResponseMessage.OpenAIResponseInputMessageContentText
571535
| OpenAIResponseMessage.OpenAIResponseInputMessageContentImage
572-
| OpenAIResponseMessage.OpenAIResponseInputMessageContentFile
573536
>
574537
| Array<
575538
| OpenAIResponseMessage.OpenAIResponseOutputMessageContentOutputText
@@ -615,47 +578,12 @@ export namespace ItemListResponse {
615578
*/
616579
type: 'input_image';
617580

618-
/**
619-
* (Optional) The ID of the file to be sent to the model.
620-
*/
621-
file_id?: string;
622-
623581
/**
624582
* (Optional) URL of the image content
625583
*/
626584
image_url?: string;
627585
}
628586

629-
/**
630-
* File content for input messages in OpenAI response format.
631-
*/
632-
export interface OpenAIResponseInputMessageContentFile {
633-
/**
634-
* The type of the input item. Always `input_file`.
635-
*/
636-
type: 'input_file';
637-
638-
/**
639-
* The data of the file to be sent to the model.
640-
*/
641-
file_data?: string;
642-
643-
/**
644-
* (Optional) The ID of the file to be sent to the model.
645-
*/
646-
file_id?: string;
647-
648-
/**
649-
* The URL of the file to be sent to the model.
650-
*/
651-
file_url?: string;
652-
653-
/**
654-
* The name of the file to be sent to the model.
655-
*/
656-
filename?: string;
657-
}
658-
659587
export interface OpenAIResponseOutputMessageContentOutputText {
660588
annotations: Array<
661589
| OpenAIResponseOutputMessageContentOutputText.OpenAIResponseAnnotationFileCitation
@@ -1043,7 +971,6 @@ export namespace ItemGetResponse {
1043971
| Array<
1044972
| OpenAIResponseMessage.OpenAIResponseInputMessageContentText
1045973
| OpenAIResponseMessage.OpenAIResponseInputMessageContentImage
1046-
| OpenAIResponseMessage.OpenAIResponseInputMessageContentFile
1047974
>
1048975
| Array<
1049976
| OpenAIResponseMessage.OpenAIResponseOutputMessageContentOutputText
@@ -1089,47 +1016,12 @@ export namespace ItemGetResponse {
10891016
*/
10901017
type: 'input_image';
10911018

1092-
/**
1093-
* (Optional) The ID of the file to be sent to the model.
1094-
*/
1095-
file_id?: string;
1096-
10971019
/**
10981020
* (Optional) URL of the image content
10991021
*/
11001022
image_url?: string;
11011023
}
11021024

1103-
/**
1104-
* File content for input messages in OpenAI response format.
1105-
*/
1106-
export interface OpenAIResponseInputMessageContentFile {
1107-
/**
1108-
* The type of the input item. Always `input_file`.
1109-
*/
1110-
type: 'input_file';
1111-
1112-
/**
1113-
* The data of the file to be sent to the model.
1114-
*/
1115-
file_data?: string;
1116-
1117-
/**
1118-
* (Optional) The ID of the file to be sent to the model.
1119-
*/
1120-
file_id?: string;
1121-
1122-
/**
1123-
* The URL of the file to be sent to the model.
1124-
*/
1125-
file_url?: string;
1126-
1127-
/**
1128-
* The name of the file to be sent to the model.
1129-
*/
1130-
filename?: string;
1131-
}
1132-
11331025
export interface OpenAIResponseOutputMessageContentOutputText {
11341026
annotations: Array<
11351027
| OpenAIResponseOutputMessageContentOutputText.OpenAIResponseAnnotationFileCitation
@@ -1518,7 +1410,6 @@ export namespace ItemCreateParams {
15181410
| Array<
15191411
| OpenAIResponseMessage.OpenAIResponseInputMessageContentText
15201412
| OpenAIResponseMessage.OpenAIResponseInputMessageContentImage
1521-
| OpenAIResponseMessage.OpenAIResponseInputMessageContentFile
15221413
>
15231414
| Array<
15241415
| OpenAIResponseMessage.OpenAIResponseOutputMessageContentOutputText
@@ -1564,47 +1455,12 @@ export namespace ItemCreateParams {
15641455
*/
15651456
type: 'input_image';
15661457

1567-
/**
1568-
* (Optional) The ID of the file to be sent to the model.
1569-
*/
1570-
file_id?: string;
1571-
15721458
/**
15731459
* (Optional) URL of the image content
15741460
*/
15751461
image_url?: string;
15761462
}
15771463

1578-
/**
1579-
* File content for input messages in OpenAI response format.
1580-
*/
1581-
export interface OpenAIResponseInputMessageContentFile {
1582-
/**
1583-
* The type of the input item. Always `input_file`.
1584-
*/
1585-
type: 'input_file';
1586-
1587-
/**
1588-
* The data of the file to be sent to the model.
1589-
*/
1590-
file_data?: string;
1591-
1592-
/**
1593-
* (Optional) The ID of the file to be sent to the model.
1594-
*/
1595-
file_id?: string;
1596-
1597-
/**
1598-
* The URL of the file to be sent to the model.
1599-
*/
1600-
file_url?: string;
1601-
1602-
/**
1603-
* The name of the file to be sent to the model.
1604-
*/
1605-
filename?: string;
1606-
}
1607-
16081464
export interface OpenAIResponseOutputMessageContentOutputText {
16091465
annotations: Array<
16101466
| OpenAIResponseOutputMessageContentOutputText.OpenAIResponseAnnotationFileCitation

src/resources/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export {
5151
type ResponseCreateParamsStreaming,
5252
type ResponseListParams,
5353
} from './responses/responses';
54-
export { Routes, type ListRoutesResponse, type RouteListResponse, type RouteListParams } from './routes';
54+
export { Routes, type ListRoutesResponse, type RouteListResponse } from './routes';
5555
export { Safety, type RunShieldResponse, type SafetyRunShieldParams } from './safety';
5656
export {
5757
Scoring,

0 commit comments

Comments
 (0)