feat(providers): add Meta Muse Spark 1.1 provider#5538
Conversation
- New BYOK-only meta provider for Meta's Model API (launched today) - muse-spark-1.1: 1M context, streaming, tool-calling, reasoning_effort (minimal->xhigh), structured output - Meta icon mark only (no wordmark), theme-safe gradient IDs via useId() - Not added to hosted models list - BYOK only, no auto-billing
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
PR SummaryMedium Risk Overview The new Reviewed by Cursor Bugbot for commit 6e32706. Configure here. |
Greptile SummaryThis PR adds Meta as a new BYOK provider for Muse Spark. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (2): Last reviewed commit: "fix(providers): stop sending unsupported..." | Re-trigger Greptile |
Meta's Chat Completions endpoint only supports tool_choice: "auto" - "none", "required", and named-function choices all return HTTP 400 (confirmed against the official meta-model-cookbook tool-calling recipe). Never set tool_choice on the request (auto is already the default; forced-tool usage control degrades gracefully to auto with a warning log instead of failing every tool-using run), and drop `tools` entirely from the two post-tool-loop tool-free completion calls instead of trying to force tool_choice: "none".
|
@cursor review |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 6e32706. Configure here.
Summary
metaprovider for Meta's just-launched Meta Model APImuse-spark-1.1: 1M context, streaming, tool-calling, reasoning_effort (minimal→xhigh), structured outputType of Change
Testing
Tested manually.
providers/models.test.ts+providers/attachments.test.tspass (32/32). Verified pricing/context/reasoning-effort values against Meta's live docs (dev.meta.ai).Checklist