Skip to content

feat(providers): add NVIDIA hosted API support - #899

Merged
Astro-Han merged 2 commits into
mainfrom
feat/nvidia-provider-support
Jul 13, 2026
Merged

Astro-Han merged 2 commits into
mainfrom
feat/nvidia-provider-support

Conversation

@Astro-Han

Copy link
Copy Markdown
Contributor

Summary

  • Add NVIDIA as a first-class hosted API provider across the registry, credentials, Desktop, CLI, storage, headless, and runtime paths.
  • Vendor the current models.dev NVIDIA snapshot for exact tool-capable model IDs, with account discovery constrained to that registry-owned set.
  • Add a deterministic two-stage NVIDIA tool-call contract and the traceable upstream NVIDIA brand asset.

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.
  • NVIDIA runtime conformance — passed: exact account discovery, Bearer authentication, exact model ID preservation, invalid embedding-model exclusion, and deterministic two-stage tool calling.
  • NVIDIA brand governance contract — passed.
  • git diff --check — passed.
  • Vendored SVG matches @lobehub/[email protected] byte-for-byte; SHA-256: 5a419b99e0ffdbfbe8caa7ec25581054eae03024da59cb860c54ea55ac8e7e73.
  • Local Desktop E2E was not run under the current release contract; CI typecheck, test, and E2E remain merge gates. The UI path is covered locally by deterministic brand and provider contracts instead of screenshots because the change uses the existing provider-card and mask renderer seams.

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/models is heterogeneous. The fallback-models discovery 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 from lobehub/lobe-icons commit e4302041fbb3039608d25f9f618bd462783b875e, path packages/static-svg/icons/nvidia.svg, MIT license.

Ready for review

  • Verification is complete and the results above are current
  • Impact, compatibility, migration, documentation, and release-note needs are addressed
  • User-visible UI/UX changes include visual evidence, or Verification explains why it is not applicable

@Astro-Han
Astro-Han merged commit 8e32c01 into main Jul 13, 2026
3 checks passed
@Astro-Han
Astro-Han deleted the feat/nvidia-provider-support branch July 13, 2026 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant