Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update interface for replicate.models.versions.list()
The endpoint returns a paginated list rather than an array
  • Loading branch information
aron committed Mar 26, 2025
commit eb5f3ae544b6b128ef9a26f5ec4814846b2a4d53
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ declare module "replicate" {
model_owner: string,
model_name: string,
options?: { signal?: AbortSignal }
): Promise<ModelVersion[]>;
): Promise<Page<ModelVersion>>;
get(
model_owner: string,
model_name: string,
Expand Down