Repository navigation
feat(providers): add Cerebras support - #888
Merged
Merged
Conversation
57 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ProviderAssetMask, and ship its provenance, hash, and MIT notice inventory.Why
Refs #860. Cerebras needs one stable provider contract instead of per-surface configuration, including deterministic model discovery, snapshot fallback, credential isolation, and tool-call behavior.
Scope
This PR covers Cerebras only. It does not add or modify other hosted providers, and it does not implement Phase 7.
Verification
npm run typechecknpm testnpm --workspace @maka/desktop run e2e -- --grep 'adds Cerebras' --workers=1— 1 passed on the fake backendnpm run check:stale— dist is freshorigin/main...HEADdiff and reported no P0–P3 findings.CEREBRAS_API_KEYwas available; this is non-blocking and no secret or raw provider response was recorded.currentColorbehavior.Impact
Users can configure Cerebras with
CEREBRAS_API_KEYorCEREBRAS_API_KEY_FILE, optionally overrideCEREBRAS_BASE_URL, discover account models, and use deterministic snapshot fallbacks. No migration is required.Reviewer notes
The Cerebras asset is vendored byte-for-byte from
@lobehub/[email protected], repository commite4302041fbb3039608d25f9f618bd462783b875e, pathpackages/static-svg/icons/cerebras.svg, MIT license, SHA-25605af9593eca3fefdb30c5ad042040f008beea2b27e0a6b7315c319492f7a44ff. The PR only consumes the existing sharedProviderAssetMask/providerAssetMaskseam and adds no parallel mask component or CSS.Ready for review
Verificationexplains why it is not applicable