Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ USAGE:
scw inference model list [arg=value ...]

ARGS:
[order-by] Order in which to return results (created_at_asc | created_at_desc | name_asc | name_desc)
[order-by] Order in which to return results (display_rank_asc | created_at_asc | created_at_desc | name_asc | name_desc)
[project-id] Filter by Project ID
[name] Filter by model name
[tags.{index}] Filter by tags
Expand Down
2 changes: 1 addition & 1 deletion docs/commands/inference.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ scw inference model list [arg=value ...]

| Name | | Description |
|------|---|-------------|
| order-by | One of: `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc` | Order in which to return results |
| order-by | One of: `display_rank_asc`, `created_at_asc`, `created_at_desc`, `name_asc`, `name_desc` | Order in which to return results |
| project-id | | Filter by Project ID |
| name | | Filter by model name |
| tags.{index} | | Filter by tags |
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ require (
github.com/mattn/go-isatty v0.0.20
github.com/moby/buildkit v0.13.2
github.com/opencontainers/go-digest v1.0.0
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.28.0.20240705094225-c148d8163353
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.28.0.20240708070744-c9ab4e9cb4d7
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
github.com/spf13/cobra v1.8.1
github.com/spf13/pflag v1.0.5
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.28.0.20240705094225-c148d8163353 h1:mt4lQcOcN4ceUUqxGm/SyMr3Nu8rdGJ5VxLTybEUyik=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.28.0.20240705094225-c148d8163353/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.28.0.20240708070744-c9ab4e9cb4d7 h1:OyB7qxaTxyQcmggkyTZBFhbTEHLemVObOY8x+i0+pqc=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.28.0.20240708070744-c9ab4e9cb4d7/go.mod h1:fCa7OJZ/9DRTnOKmxvT6pn+LPWUptQAmHF/SBJUGEcg=
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA=
Expand Down
2 changes: 1 addition & 1 deletion internal/namespaces/inference/v1beta1/inference_cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ func inferenceModelList() *core.Command {
Required: false,
Deprecated: false,
Positional: false,
EnumValues: []string{"created_at_asc", "created_at_desc", "name_asc", "name_desc"},
EnumValues: []string{"display_rank_asc", "created_at_asc", "created_at_desc", "name_asc", "name_desc"},
},
{
Name: "project-id",
Expand Down