Repository navigation
feat(providers): add Fireworks AI support - #891
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
Why
Issue #860 tracks the remaining first-class provider integrations. Fireworks differs from a generic OpenAI-compatible endpoint in its account-scoped model discovery and exact model paths, so it needs an owned registry contract and discovery adapter rather than relying on protocol assumptions alone.
Refs #860
Scope
This PR adds Fireworks AI only. It does not add or change any other queued provider and does not implement Phase 7.
Verification
npm test— passed across all workspaces (including 11 script tests and 2,413 Desktop unit/static-contract tests)npm run typecheck— passed across all workspacesnpm --workspace @maka/desktop run build:renderer— passed, including byte-identical third-party notice validationnpm --workspace @maka/desktop run e2e -- e2e/providers.spec.ts --workers=1passed 7/7 on the fake backend; it was not rerun after the final queue rebase because local E2E is delegated to CInpm run check:stale— passedgit diff --check origin/main...HEAD— passed9991ab2a8331096d3f408e07a5f2e1cb54c369143dd9fc7a97f6458478b33fe3No static screenshot is included: the user-visible flow has deterministic Desktop E2E coverage, while the visual invariant is the byte-exact upstream SVG plus the shared
ProviderAssetMaskgovernance contract. CI E2E remains the merge gate. A real-provider smoke is intentionally non-blocking and was not run because no safe credential was provided.Impact
Users can configure Fireworks AI with a provider-scoped API key, discover account and public serverless models without model-ID rewriting, and use supported tool-calling models consistently from Desktop, CLI, storage-backed, runtime, and headless surfaces. Existing persisted provider IDs and credentials are unchanged; no migration is required.
Reviewer notes
The Fireworks mark comes from
lobehub/lobe-icons, package@lobehub/[email protected], commite4302041fbb3039608d25f9f618bd462783b875e, pathpackages/static-svg/icons/fireworks.svg, under MIT. Runtime review should focus on the two-step account/public model discovery inmodel-fetcher.tsand preservation of account-qualified IDs.Ready for review
Verificationexplains why it is not applicable