Skip to content

docs: use architecture slugs in the model upload help - #229

Open
felixsanz wants to merge 1 commit into
mainfrom
docs/architecture-slugs
Open

felixsanz wants to merge 1 commit into
mainfrom
docs/architecture-slugs

Conversation

@felixsanz

Copy link
Copy Markdown
Contributor

What

runware model upload --help gave flux1d and sd1x as --architecture examples. 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 docs regenerated docs/runware_model_upload.md, the only file it changed.
  • make test passes, and make check-go-fix reports nothing.
  • make lint did 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 untouched internal/buildinfo), so CI's lint is the check.
  • On the API: modelUpload with architecture: "flux-1-dev" passes the architecture check, and modelSearch with flux-1-dev returns the same models as with flux1d.

Copilot AI balanced review requested due to automatic review settings November 30, 2026 12:14
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. To trigger a review, include coderabbit-review in the PR description. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 42a8e5ac-eff1-4d1d-ba9d-a9a53cb011c9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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 flux1d and sd1x help examples with flux-1-dev and sd-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

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants