Skip to content

Commit

Permalink
chore: rebuild project due to codegen change (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Nov 12, 2024
1 parent be8bc88 commit 800fd5a
Showing 1 changed file with 17 additions and 20 deletions.
37 changes: 17 additions & 20 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,33 +205,13 @@ export class Together extends Core.APIClient {
static fileFromPath = Uploads.fileFromPath;
}

export {
TogetherError,
APIError,
APIConnectionError,
APIConnectionTimeoutError,
APIUserAbortError,
NotFoundError,
ConflictError,
RateLimitError,
BadRequestError,
AuthenticationError,
InternalServerError,
PermissionDeniedError,
UnprocessableEntityError,
} from './error';

export import toFile = Uploads.toFile;
export import fileFromPath = Uploads.fileFromPath;

Together.Chat = Chat;
Together.Completions = Completions;
Together.Embeddings = Embeddings;
Together.Files = Files;
Together.FineTuneResource = FineTuneResource;
Together.Images = Images;
Together.Models = Models;

export declare namespace Together {
export type RequestOptions = Core.RequestOptions;

Expand Down Expand Up @@ -279,4 +259,21 @@ export declare namespace Together {
export { Models as Models, type ModelListResponse as ModelListResponse };
}

export { toFile, fileFromPath } from 'together-ai/uploads';
export {
TogetherError,
APIError,
APIConnectionError,
APIConnectionTimeoutError,
APIUserAbortError,
NotFoundError,
ConflictError,
RateLimitError,
BadRequestError,
AuthenticationError,
InternalServerError,
PermissionDeniedError,
UnprocessableEntityError,
} from 'together-ai/error';

export default Together;

0 comments on commit 800fd5a

Please sign in to comment.