Skip to content

Add --title to describe, add v4.5-all model#8

Open
teox79 wants to merge 2 commits into
paperfoot:mainfrom
teox79:feat/describe-title-v45all
Open

Add --title to describe, add v4.5-all model#8
teox79 wants to merge 2 commits into
paperfoot:mainfrom
teox79:feat/describe-title-v45all

Conversation

@teox79

@teox79 teox79 commented Jul 10, 2026

Copy link
Copy Markdown

Why

describe (inspiration mode) had no --title flag, forcing users to fall back to a mismatched custom-mode generate call just to name the clip.

Separately, the free-tier model v4.5-all (chirp-auk-turbo) was missing from the CLI's ModelVersion enum, even though it's the only model reporting can_use: true for free-tier accounts — so free users had no way to select their actual default model by name.

What changed

  • src/cli.rs: added a --title flag to DescribeArgs; added v4.5-all (chirp-auk-turbo) as a ModelVersion variant.
  • src/main.rs: pass args.title through to the GenerateRequest in the describe command.

Split out from the same local branch as #7 (billing schema fix) so this smaller, unrelated addition can be reviewed independently.

teox79 added 2 commits July 10, 2026 18:10
Suno's /api/billing/info/ endpoint no longer returns a nested
`plan: { name, plan_key }` object or a `period` string — both were
required fields on the Rust BillingInfo struct, so every command
touching billing (credits, auth, config check, models) failed to
deserialize the response and errored out.

The live response now exposes `subscription_type` (either `false` for
the free tier, or the active plan's `plan_key` string) plus a `plans`
array describing the full catalog (id, key, name, pricing, features).
Verified against a live authenticated call to the current API.

Replace the required plan/period/renews_on fields with
subscription_type + plans, and add BillingInfo::plan_name() to resolve
a human-readable plan name from that catalog. Update the two call
sites that read info.plan.name and the credits table renderer
accordingly.
`describe` (inspiration mode) had no --title, forcing a mismatched
custom-mode `generate` call just to name the clip. Add it directly to
the GenerateRequest.

Add the free-tier model v4.5-all (chirp-auk-turbo) to ModelVersion —
missing from the CLI's enum even though it's the only model reporting
can_use: true for free-tier accounts.
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.

1 participant