Skip to content

Commit 6af23e2

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
chore: rebuild project due to codegen change (#8)
1 parent 8890e6d commit 6af23e2

File tree

1 file changed

+17
-20
lines changed

1 file changed

+17
-20
lines changed

src/index.ts

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -242,25 +242,6 @@ export class ArgotOpenAI extends Core.APIClient {
242242
static fileFromPath = Uploads.fileFromPath;
243243
}
244244

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-
264245
ArgotOpenAI.Chat = Chat;
265246
ArgotOpenAI.Completions = Completions;
266247
ArgotOpenAI.Images = Images;
@@ -279,7 +260,6 @@ ArgotOpenAI.Organization = Organization;
279260
ArgotOpenAI.Invites = Invites;
280261
ArgotOpenAI.Users = Users;
281262
ArgotOpenAI.Projects = Projects;
282-
283263
export declare namespace ArgotOpenAI {
284264
export type RequestOptions = Core.RequestOptions;
285265

@@ -399,4 +379,21 @@ export declare namespace ArgotOpenAI {
399379
export type ImagesResponse = API.ImagesResponse;
400380
}
401381

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+
402399
export default ArgotOpenAI;

0 commit comments

Comments
 (0)