Repository navigation
feat(providers): add NVIDIA hosted API support - #899
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 direct hosted-provider support. NVIDIA exposes an OpenAI-style chat API, but its live model inventory also contains embedding, reranking, media, and other non-chat models. Maka therefore needs a first-class provider contract that preserves exact NVIDIA model IDs while filtering account discovery to the tool-capable snapshot owned by the registry.
Refs #860.
Scope
This PR only adds the NVIDIA direct API slice. It does not add other providers or Phase 7 behavior.
Verification
npm run rebuild— passed, including the byte-identical renderer third-party notice check.npm run typecheck— passed for all workspaces.npm test— passed for all workspace unit suites.npm run check:stale— passed.git diff --check— passed.@lobehub/[email protected]byte-for-byte; SHA-256:5a419b99e0ffdbfbe8caa7ec25581054eae03024da59cb860c54ea55ac8e7e73.Impact
Users can configure NVIDIA hosted API credentials and models consistently in Desktop, CLI, storage, and headless flows. No migration is required; existing provider IDs, ordering, discovery behavior, and credentials remain unchanged.
Reviewer notes
NVIDIA
/v1/modelsis heterogeneous. Thefallback-modelsdiscovery filter intersects exact live IDs with the registry-owned tool-capable snapshot instead of introducing an NVIDIA-specific fetcher or rewriting IDs. The SVG is vendored unchanged fromlobehub/lobe-iconscommite4302041fbb3039608d25f9f618bd462783b875e, pathpackages/static-svg/icons/nvidia.svg, MIT license.Ready for review
Verificationexplains why it is not applicable