Skip to content

fix(music): default to music-3.0 and list current models - #227

Open
octo-patch wants to merge 1 commit into
BlockRunAI:mainfrom
octo-patch:octo/20260730-parameter-refresh-recvqcgOri6pAR
Open

fix(music): default to music-3.0 and list current models#227
octo-patch wants to merge 1 commit into
BlockRunAI:mainfrom
octo-patch:octo/20260730-parameter-refresh-recvqcgOri6pAR

Conversation

@octo-patch

@octo-patch octo-patch commented Jul 30, 2026

Copy link
Copy Markdown

Reason: refresh the MiniMax music provider to the current music-3.0 model and model list.

The runtime MiniMax music generation provider still defaulted to minimax/music-2.5+ and advertised only the legacy music-2.5 variants. This refreshes the registered default and model list to the current generation models.

Changes:

  • src/index.ts (buildMusicGenerationProvider): default model is now minimax/music-3.0 and the advertised models list now includes minimax/music-3.0, minimax/music-2.6, minimax/music-3.0-free, and minimax/music-2.6-free.
  • src/proxy.ts (/v1/audio/generations handler): the fallback audioModel default is now minimax/music-3.0.
  • test/test-e2e.ts: updated the mock upstream response and the local/live music fixtures to use minimax/music-3.0.

Checks run:

  • npx tsc --noEmit — passed.
  • npx vitest run — 723 passed / 3 skipped (one flaky lifecycle timeout passed on re-run; unrelated to this change).
  • npx tsx test/test-e2e.ts — 20 passed / 0 failed (mocked audio generation path exercised with the refreshed model).

Summary by CodeRabbit

  • New Features

    • Updated the default music generation model to minimax/music-3.0.
    • Added support for minimax/music-3.0, minimax/music-2.6, and their free variants.
  • Bug Fixes

    • Audio generation requests without a specified model now use the updated default model.
  • Tests

    • Updated music generation test coverage to use the latest default model.

The MiniMax music generation provider still defaulted to music-2.5+ and
advertised only the legacy music-2.5 variants. Refresh the provider
registration and the audio generation proxy default to the current
music-3.0 model and advertise the current generation model list
(music-3.0, music-2.6, music-3.0-free, music-2.6-free). Update the e2e
mock and live music fixtures to the current model.
@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: b87f7f93-4b7e-4c47-8341-55ae6775038f

📥 Commits

Reviewing files that changed from the base of the PR and between 22bdfbb and 9240831.

📒 Files selected for processing (3)
  • src/index.ts
  • src/proxy.ts
  • test/test-e2e.ts

📝 Walkthrough

Walkthrough

Changes

Music model update

Layer / File(s) Summary
Provider and route defaults
src/index.ts, src/proxy.ts
The BlockRun music provider now defaults to minimax/music-3.0 and exposes Music 3.0, 2.6, and free variants; the audio generation fallback also uses Music 3.0.
Music generation test alignment
test/test-e2e.ts
Mock and live music-generation tests request, return, and reference minimax/music-3.0.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Suggested reviewers: 1bcmax

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: defaulting to music-3.0 and updating the advertised model list.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

Comment @coderabbitai help to get the list of available commands.

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