feat(providers): add Meta Model API - muse-spark-1.1 - #102873
Conversation
Adds meta-model-api provider via bundled extension: - extensions/meta-model-api/ (provider, catalog, stream, thinking, onboarding) - docs/providers/meta-model-api.md - core wiring: env-api-keys, zod-schema, provider-display-names, dotenv, provider-env-vars Model: meta-model-api/muse-spark-1.1 (Responses API at https://api.ai.meta.com/v1) Auth: MODEL_API_KEY (Bearer) Default reasoning: high, maps --thinking off -> minimal (model rejects none) Fix: bump live test maxTokens 200->4000 (high reasoning uses ~300 tokens for reasoning alone) Co-authored-by: Meta
Dependency GuardThis PR changes dependency-related files. Maintainers should confirm these changes are intentional. Changed files:
Maintainer follow-up:
|
Dependency graph changes are blockedOpenClaw does not accept dependency graph changes through PRs unless a repository admin or security explicitly authorizes the current head SHA. Dependency updates are generated internally by maintainers so external PRs cannot change the resolved graph. Detected dependency graph changes:
Auto-scrub was not attempted because this PR changes package manifest dependency graph fields:
Dependency graph changes must be reviewed by security or handled by maintainers internally. Please remove lockfile changes manually if they are not needed. To remove lockfile changes, restore them from the target branch: git fetch origin
git checkout 'origin/main' -- 'pnpm-lock.yaml'
git commit -m 'chore: remove dependency lockfile change'
git pushIf this PR intentionally needs a dependency graph change, ask a repository admin or member of The action will approve the current head SHA ( |
|
Codex review: found issues before merge. Reviewed July 9, 2026, 1:15 PM ET / 17:15 UTC. Summary PR surface: Source +302, Tests +161, Docs +205, Config +31, Other +6. Total +705 across 22 files. Reproducibility: not applicable. this is a new provider feature PR rather than a reported bug. The PR includes redacted local gateway and transport proof, but there is no current-main failure to reproduce. Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review findings
Review detailsBest possible solution: Either publish this as an external ClawHub/npm provider plugin, or have the assigned maintainer explicitly sponsor bundled inclusion after removing duplicate core env fallbacks, updating docs navigation/labeler metadata, and clearing dependency/security authorization. Do we have a high-confidence way to reproduce the issue? Not applicable: this is a new provider feature PR rather than a reported bug. The PR includes redacted local gateway and transport proof, but there is no current-main failure to reproduce. Is this the best way to solve the issue? No: the branch proves a plausible provider path, but the best solution is either external ClawHub/npm packaging or an explicit maintainer-sponsored bundled-provider exception with the core-env duplication and docs/navigation blockers fixed. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against f1e7081b4d36. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Source +302, Tests +161, Docs +205, Config +31, Other +6. Total +705 across 22 files. View PR surface stats
Security concerns:
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
Adding Local Proof to help Clear CI Meta Model API Local Proof (redacted)Generated: 2026-07-09T11:28:22-04:00 Gateway Status{
"port": 18789,
"pid": 71290,
"commandLine": "/opt/homebrew/opt/node/bin/node ~/Projects/ai-agents/openclaw/.worktrees/pr-102873-local-gateway-install/dist/index.js gateway --port 18789",
"rpcOk": true,
"rpcUrl": "ws://127.0.0.1:18789",
"serverVersion": "2026.6.11",
"authCapability": "admin_capable"
}Default Model{
"primary": "meta-model-api/muse-spark-1.1",
"fallbacks": [
"openai/gpt-5.4",
"openai/gpt-5.4-mini"
]
}Meta Provider Config Presence{
"baseUrl": "https://api.ai.meta.com/v1",
"apiKey": "__OPENCLAW_REDACTED__",
"auth": "api-key",
"api": "openai-responses",
"models": [
{
"id": "muse-spark-1.1",
"name": "Muse Spark 1.1",
"reasoning": true,
"input": [
"text",
"image"
],
"contextWindow": 1048576,
"maxTokens": 128000,
"api": "openai-responses"
}
]
}Model ListRecent Model Transport EventsLaunchd Console Excerpt@clawsweeper re-review here is logs for proof. |
|
ClawSweeper applied the proposed close for this PR.
|
* feat(providers): add Meta Model API - muse-spark-1.1 Adds meta-model-api provider via bundled extension: - extensions/meta-model-api/ (provider, catalog, stream, thinking, onboarding) - docs/providers/meta-model-api.md - core wiring: env-api-keys, zod-schema, provider-display-names, dotenv, provider-env-vars Model: meta-model-api/muse-spark-1.1 (Responses API at https://api.ai.meta.com/v1) Auth: MODEL_API_KEY (Bearer) Default reasoning: high, maps --thinking off -> minimal (model rejects none) Fix: bump live test maxTokens 200->4000 (high reasoning uses ~300 tokens for reasoning alone) Co-authored-by: Meta * fix(meta-model-api): clean reasoning lint * test(meta-model-api): align live proof checks * chore(meta-model-api): bundle provider metadata * docs: fix Meta Model API setup wording * docs: format Meta Model API provider page --------- Co-authored-by: Dave Morin <dave@morin.com> Co-authored-by: Colin <colin@solvely.net> Co-authored-by: Josh Lehman <josh@martian.engineering> (cherry picked from commit 08a957e)
* feat(providers): add Meta Model API - muse-spark-1.1 Adds meta-model-api provider via bundled extension: - extensions/meta-model-api/ (provider, catalog, stream, thinking, onboarding) - docs/providers/meta-model-api.md - core wiring: env-api-keys, zod-schema, provider-display-names, dotenv, provider-env-vars Model: meta-model-api/muse-spark-1.1 (Responses API at https://api.ai.meta.com/v1) Auth: MODEL_API_KEY (Bearer) Default reasoning: high, maps --thinking off -> minimal (model rejects none) Fix: bump live test maxTokens 200->4000 (high reasoning uses ~300 tokens for reasoning alone) Co-authored-by: Meta * fix(meta-model-api): clean reasoning lint * test(meta-model-api): align live proof checks * chore(meta-model-api): bundle provider metadata * docs: fix Meta Model API setup wording * docs: format Meta Model API provider page --------- Co-authored-by: Dave Morin <dave@morin.com> Co-authored-by: Colin <colin@solvely.net> Co-authored-by: Josh Lehman <josh@martian.engineering>
* feat(providers): add Meta Model API - muse-spark-1.1 Adds meta-model-api provider via bundled extension: - extensions/meta-model-api/ (provider, catalog, stream, thinking, onboarding) - docs/providers/meta-model-api.md - core wiring: env-api-keys, zod-schema, provider-display-names, dotenv, provider-env-vars Model: meta-model-api/muse-spark-1.1 (Responses API at https://api.ai.meta.com/v1) Auth: MODEL_API_KEY (Bearer) Default reasoning: high, maps --thinking off -> minimal (model rejects none) Fix: bump live test maxTokens 200->4000 (high reasoning uses ~300 tokens for reasoning alone) Co-authored-by: Meta * fix(meta-model-api): clean reasoning lint * test(meta-model-api): align live proof checks * chore(meta-model-api): bundle provider metadata * docs: fix Meta Model API setup wording * docs: format Meta Model API provider page --------- Co-authored-by: Dave Morin <dave@morin.com> Co-authored-by: Colin <colin@solvely.net> Co-authored-by: Josh Lehman <josh@martian.engineering> (cherry picked from commit 08a957e)
Adds meta-model-api provider via bundled extension:
Model: meta-model-api/muse-spark-1.1 (Responses API at https://api.ai.meta.com/v1)
What Problem This Solves
OpenClaw needs a selectable Meta Model API provider path so operators can configure
MODEL_API_KEYand route agent traffic tometa-model-api/muse-spark-1.1through the Responses API.Why This Change Was Made
This adds the bundled
meta-model-apiprovider surface, static Muse Spark catalog entry, onboarding/config wiring, provider display metadata, and docs needed for local gateway setup and model selection.User Impact
Operators can set a Meta Model API key, select
meta-model-api/muse-spark-1.1, and run OpenClaw traffic through Meta's Responses-compatible endpoint without manually patching provider internals.Evidence
Maintainer local proof was collected against PR head
7975616acab10c1b9c27bdfe646af0a9bbbe551awith the API key redacted. No request body, response body, prompt text, or message text is included below.Redacted transport proof from the local gateway logs:
Image proof
Source comment: #102873 (comment)