You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: add nvidia provider to generated Provider enum #59
NVIDIA (NVIDIA NIM / the build.nvidia.com hosted API catalog, base URL https://integrate.api.nvidia.com/v1) was added as a first-class provider to the Inference Gateway in inference-gateway/inference-gateway#415 (closes inference-gateway/inference-gateway#401).
The shared schema source, inference-gateway/schemas' openapi.yaml, already contains nvidia (the Provider enum + x-provider-configs, bearer auth). The Python SDK regenerates its Provider type from that spec, so this is a mechanical re-sync.
What needs to change
Run task oas-download to pull the latest openapi.yaml from inference-gateway/schemas (now includes nvidia).
Run task generate to regenerate the Provider enum + Literal in inference_gateway/models.py (currently stops before nvidia).
Verify tests, commit the regenerated file, and cut a release.
Task: Add NVIDIA provider to generated Provider enum ✅
Gather context (read models.py, Taskfile, tests)
Install dev dependencies
Download latest OpenAPI spec (task oas-download)
Regenerate models (task generate)
Verify nvidia is present in the Provider enum + Literal (12 → 13 providers)
Run tests + lint
Add NVIDIA to README "Supported Providers" list
Commit changes
Open PR
Summary
Re-synced the OpenAPI spec from inference-gateway/schemas and regenerated inference_gateway/models.py. The Provider type now includes nvidia in both the RootModel[Literal[...]] and the root: Literal[...]:
"minimax",
"moonshot",
+ "nvidia",
Files changed:
inference_gateway/models.py — regenerated; nvidia added to the Provider enum/Literal.
openapi.yaml — refreshed spec snapshot (adds the nvidia provider config; also pulls in unrelated accumulated upstream additions — a /metrics OTLP endpoint and a couple of config env vars — none of which alter the generated models).
README.md — added NVIDIA ("nvidia") to the Supported Providers list.
Verification:
pytest tests/ → 25 passed, 1 xfailed
black --check, isort --check-only, mypy → all clean
A release still needs to be cut (via the Release workflow) once merged — this is a feat: commit, so it triggers a minor version bump. I also filed a docs tracking issue at inference-gateway/docs#324.
Activity
edenreich commentedon Jul 5, 2026
@claude Can you work on this?
inference-gateway-maintainer commentedon Jul 5, 2026
Claude finished @edenreich's task in 6m 39s —— View job •
feat/issue-59-20260705-1537• [Create PR ➔](https://github.com/inference-gateway/python-sdk/compare/main...feat/issue-59-20260705-1537?quick_pull=1&title=Issue%20%2359%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%2359%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Task: Add NVIDIA provider to generated Provider enum ✅
task oas-download)task generate)nvidiais present in theProviderenum +Literal(12 → 13 providers)Summary
Re-synced the OpenAPI spec from
inference-gateway/schemasand regeneratedinference_gateway/models.py. TheProvidertype now includesnvidiain both theRootModel[Literal[...]]and theroot: Literal[...]:"minimax", "moonshot", + "nvidia",Files changed:
inference_gateway/models.py— regenerated;nvidiaadded to theProviderenum/Literal.openapi.yaml— refreshed spec snapshot (adds thenvidiaprovider config; also pulls in unrelated accumulated upstream additions — a/metricsOTLP endpoint and a couple of config env vars — none of which alter the generated models).README.md— addedNVIDIA ("nvidia")to the Supported Providers list.Verification:
pytest tests/→ 25 passed, 1 xfailedblack --check,isort --check-only,mypy→ all cleanProvider("nvidia")validates successfully (13 providers total)PR: #60 — feat: add nvidia provider to Provider enum
A release still needs to be cut (via the
Releaseworkflow) once merged — this is afeat:commit, so it triggers a minor version bump. I also filed a docs tracking issue at inference-gateway/docs#324.--- · Branch:
feat/issue-59-20260705-1537feat: add nvidia provider to Provider enum
chore(release): 0.8.0 [skip ci]
inference-gateway-releaser commentedon Jul 18, 2026
🎉 This issue has been resolved in version 0.8.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀