Skip to content

Commit f1dc6b0

Browse files
committed
remove unrelated comment about models.list()
1 parent 1e10544 commit f1dc6b0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

UPGRADING.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -392,12 +392,9 @@ versions = replicate.models.versions.list(
392392
model_owner="owner",
393393
model_name="name"
394394
)
395-
396-
# NEW: List all models
397-
all_models = replicate.models.list()
398395
```
399396

400-
The `model.versions` shorthand is not available in v2. The v2 SDK adds a new `models.list()` method to list all models.
397+
The `model.versions` shorthand is not available in v2.
401398

402399
## Trainings
403400

0 commit comments

Comments
 (0)