Repository navigation
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. To trigger a review, include
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are identified for the architecture-slug updates to CLI help and the command reference.
No open issues 🎉
What changed in this PR
Updates runware model upload help to use architecture slugs consistent with the model pages and Models API documentation. This changes help text and examples only; request handling remains unchanged.
Changes:
- Replaces
flux1dandsd1xhelp examples withflux-1-devandsd-1-5. - Synchronizes the generated command reference with the updated CLI help.
| File | Description |
|---|---|
internal/cmd/model/upload.go |
Updates the upload example and architecture flag help. |
docs/runware_model_upload.md |
Mirrors the updated examples in the generated reference. |
Review effort: Balanced
What
runware model upload --helpgaveflux1dandsd1xas--architectureexamples. The API now also takes the architecture slugs that the model pages and the Models API docs use (flux-1-dev,sd-1-5), so the flag help and the upload example use those. The old names keep working.Testing
make docsregenerateddocs/runware_model_upload.md, the only file it changed.make testpasses, andmake check-go-fixreports nothing.make lintdid not run locally: golangci-lint 2.13.1, built with Go 1.27.0, cannot read the Go 1.27.4 standard library on this machine (a typecheck error in the untouchedinternal/buildinfo), so CI's lint is the check.modelUploadwitharchitecture: "flux-1-dev"passes the architecture check, andmodelSearchwithflux-1-devreturns the same models as withflux1d.