Skip to content

docs: confirm nvidia in SDK Provider enums, add TS/Go examples - #333

Merged
edenreich merged 3 commits into
mainfrom
docs/issue-331-20260705-1716
Jul 5, 2026
Merged

edenreich merged 3 commits into
mainfrom
docs/issue-331-20260705-1716

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #324 / PR #328. Confirms that the generated Provider enum in the
TypeScript, Go, and Rust SDKs includes nvidia (re-synced from
inference-gateway/schemas), and adds per-language Provider-enum NVIDIA examples
to sdks.md where the value is available in a published release.

Confirmation

Source of truth: inference-gateway/schemas openapi.yaml lists nvidia in the Provider enum.

SDK Enum member On main Latest release Released version has nvidia?
TypeScript Provider.nvidia yes v0.11.0 Yes
Go sdk.Nvidia yes v1.19.0 Yes
Rust Provider::Nvidia yes (rust-sdk#76) 0.13.4 No - unreleased

nvidia was added to the schema recently, so it only appears in releases newer than
the versions the docs previously cited (TypeScript 0.8.5 and Go v1.16.4 predate it).

Changes to sdks.md

  • TypeScript: bump cited version 0.8.5 -> 0.11.0 and add
    client.listModels(Provider.nvidia) to the "Models, tools, and health" example.
  • Go: bump cited version v1.16.4 -> v1.19.0 and add
    client.ListProviderModels(ctx, sdk.Nvidia) to the "Models, tools, and health" example.
  • Rust: no code example added. Provider::Nvidia exists on main (rust-sdk#76) but is
    not in the latest published crate 0.13.4, so an example would not compile against the
    version the page documents. To be added once a crate including nvidia is released.

This complements the still-open PR #328 (which adds the "Supported providers" prose and
the Python nvidia example); the hunks here are in the TypeScript and Go sections and do
not overlap.

Downstream impact

  • inference-gateway/rust-sdk: the Provider enum re-sync is merged on main
    (rust-sdk#76) but has not been published to crates.io; the latest release 0.13.4
    lacks nvidia. A follow-up tracking note for cutting a release is filed alongside this PR.

Closes #331

@edenreich

Copy link
Copy Markdown
Contributor

@claude Can you check why the supported provider was deleted and nvidia too? Can you finalise this PR ?

@inference-gateway-maintainer

inference-gateway-maintainer Bot commented Jul 5, 2026 •

Copy link
Copy Markdown
Contributor Author

Claude finished @edenreich's task in 5m 20s —— View job


Finalising PR #333 - done

  • Investigate why the "Supported providers" section and Python nvidia example were removed
  • Restore the content that was dropped by mistake
  • Keep the intended TS/Go version bumps and nvidia examples
  • Run lint + format + build to verify
  • Commit to this PR branch

Why the section and the Python nvidia example disappeared

It was not the main merge - the deletion was baked into the PR's own work commit 1cc626b.

Fix (commit eee4afd)

  • Restored the ## Supported providers section (verbatim, as it is on main).
  • Restored the Python nvidia_models = client.list_models(provider='nvidia') line.
  • Left the intended changes in place: TS 0.8.5 -> 0.11.0 + listModels(Provider.nvidia), and Go v1.16.4 -> v1.19.0 + ListProviderModels(ctx, sdk.Nvidia).

The net diff against origin/main is now exactly the four intended edits - no accidental deletions.

Verification

Check Result
bun run lint:md pass
bun run format:check pass
bun run build pass
SSR HTML (dist/sdks/index.html) Supported providers section + all nvidia examples present in first-pass HTML

Note: the PR description still refers to #328 as "still-open" - that premise is now stale (its content is on main), which is exactly what turned this into a visible regression. Worth a quick edit to the PR body, but the code on the branch is correct now.
· branch docs/issue-331-20260705-1716

@edenreich
edenreich merged commit e6332af into main Jul 5, 2026
1 check passed
@edenreich
edenreich deleted the docs/issue-331-20260705-1716 branch July 5, 2026 17:36
inference-gateway-releaser Bot added a commit that referenced this pull request Jul 6, 2026
## [0.8.0](0.7.0...0.8.0) (2026-07-06)

### ✨ Features

* generate provider-derived docs from canonical openapi.yaml ([#340](#340)) ([796e48d](796e48d))

### 🐛 Bug Fixes

* **ci:** release notes are not being generated ([7c65e03](7c65e03))

### 👷 CI

* **claude:** centralize claude.yml via reusable workflow ([#341](#341)) ([e382f6b](e382f6b))
* **deps:** update inference workflow to version 0.15.1 ([e30cc1e](e30cc1e))

### 📚 Documentation

* add minimax-api-key row to github-action inputs ([#332](#332)) ([d06673b](d06673b))
* add nvidia as an adl init llm provider ([#336](#336)) ([a42ce03](a42ce03))
* add NVIDIA provider documentation ([#325](#325)) ([43076b2](43076b2))
* add NVIDIA to SDK docs and provider lists ([#328](#328)) ([9d521e1](9d521e1))
* **adl-cli:** add minimax provider to reference tables ([#344](#344)) ([3e1e0c6](3e1e0c6)), references [#337](#337)
* confirm nvidia in SDK Provider enums, add TS/Go examples ([#333](#333)) ([e6332af](e6332af))
* document nvidia-api-key action input ([#338](#338)) ([68c3ace](68c3ace))
* document OTLP metrics push endpoint and GenAI semconv metric names ([#321](#321)) ([f9a5117](f9a5117))

### 🔧 Miscellaneous

* **deps-dev:** bump the bun group with 2 updates ([#327](#327)) ([c0576ed](c0576ed))
* **deps:** bump claude-code 2.1.177 -> 2.1.197, claude-code-action v1.0.164 -> v1.0.165 ([#335](#335)) ([a256e25](a256e25))
* **deps:** bump inference-gateway/.github/.github/workflows/claude.yml ([#326](#326)) ([300d6a8](300d6a8))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.8.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] Confirm nvidia in TypeScript, Go, and Rust SDK Provider enums

1 participant