File tree Expand file tree Collapse file tree 1 file changed +17
-20
lines changed Expand file tree Collapse file tree 1 file changed +17
-20
lines changed Original file line number Diff line number Diff line change @@ -242,25 +242,6 @@ export class ArgotOpenAI extends Core.APIClient {
242
242
static fileFromPath = Uploads . fileFromPath ;
243
243
}
244
244
245
- export {
246
- ArgotOpenAIError ,
247
- APIError ,
248
- APIConnectionError ,
249
- APIConnectionTimeoutError ,
250
- APIUserAbortError ,
251
- NotFoundError ,
252
- ConflictError ,
253
- RateLimitError ,
254
- BadRequestError ,
255
- AuthenticationError ,
256
- InternalServerError ,
257
- PermissionDeniedError ,
258
- UnprocessableEntityError ,
259
- } from './error' ;
260
-
261
- export import toFile = Uploads . toFile ;
262
- export import fileFromPath = Uploads . fileFromPath ;
263
-
264
245
ArgotOpenAI . Chat = Chat ;
265
246
ArgotOpenAI . Completions = Completions ;
266
247
ArgotOpenAI . Images = Images ;
@@ -279,7 +260,6 @@ ArgotOpenAI.Organization = Organization;
279
260
ArgotOpenAI . Invites = Invites ;
280
261
ArgotOpenAI . Users = Users ;
281
262
ArgotOpenAI . Projects = Projects ;
282
-
283
263
export declare namespace ArgotOpenAI {
284
264
export type RequestOptions = Core . RequestOptions ;
285
265
@@ -399,4 +379,21 @@ export declare namespace ArgotOpenAI {
399
379
export type ImagesResponse = API . ImagesResponse ;
400
380
}
401
381
382
+ export { toFile , fileFromPath } from 'argot-stainless-openai/uploads' ;
383
+ export {
384
+ ArgotOpenAIError ,
385
+ APIError ,
386
+ APIConnectionError ,
387
+ APIConnectionTimeoutError ,
388
+ APIUserAbortError ,
389
+ NotFoundError ,
390
+ ConflictError ,
391
+ RateLimitError ,
392
+ BadRequestError ,
393
+ AuthenticationError ,
394
+ InternalServerError ,
395
+ PermissionDeniedError ,
396
+ UnprocessableEntityError ,
397
+ } from 'argot-stainless-openai/error' ;
398
+
402
399
export default ArgotOpenAI ;
You can’t perform that action at this time.
0 commit comments