Skip to content

docs: wire gpu example through openai and drop custom provider - #361

Merged
edenreich merged 1 commit into
mainfrom
docs/issue-356-20261117-0700
Nov 17, 2026
Merged

edenreich merged 1 commit into
mainfrom
docs/issue-356-20261117-0700

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

The GPU example and the custom provider docs set env vars the gateway never reads. The gateway only reads <PROVIDER_ID>_API_URL / <PROVIDER_ID>_API_KEY for ids in its registry, which has no custom or ornith.

Changes

  • examples/gpu/gpu.yaml and examples/gpu/README.md - the Gateway now wires the ornith-connection Secret through the openai provider. The bare runtime URL is loaded into ORNITH_RUNTIME_URL, then OPENAI_API_URL is set to $(ORNITH_RUNTIME_URL)/v1 (Kubernetes dependent env var expansion), because the Secret holds https://<id>-<port>.proxy.runpod.net without /v1 and the gateway's OpenAI base URL includes it. OPENAI_API_KEY reads apiKey. The README notes this replaces api.openai.com on that Gateway.
  • README.md - removed the custom provider claims and replaced them with a short recipe pointing at the GPU example.
  • examples/gateway-complete/ - dropped the Custom provider block, its Secret keys and "a custom endpoint" from the feature list.
  • internal/providers/providers.go - removed CustomProvider. The operator now accepts exactly the gateway's provider ids, so IsSupported("custom") is false. Test updated.

Behavior change

A Gateway that still lists custom is now left out of status.providerSummary. Its env vars were never read by the gateway, so no runtime traffic changes.

Checks

  • go test ./internal/providers/ -run 'TestIsSupported|TestSupportedProvidersHasNoDuplicates' passes
  • golangci-lint run ./internal/providers/... - 0 issues
  • Not run against a cluster - the $(VAR) expansion relies on the provider env being emitted in spec order, which gateway_controller.go does.

Closes #356

Generated with Claude Code

@inference-gateway-maintainer
inference-gateway-maintainer Bot requested a review from a team as a code owner November 17, 2026 07:02
@edenreich
edenreich merged commit c613bee into main Nov 17, 2026
1 check passed
@edenreich
edenreich deleted the docs/issue-356-20261117-0700 branch November 17, 2026 07:12
inference-gateway-releaser Bot added a commit that referenced this pull request Nov 17, 2026
## [0.37.1](v0.37.0...v0.37.1) (2026-11-17)

### 🐛 Bug Fixes

* **gateway:** apply server and mcp request timeouts to the gateway env ([#363](#363)) ([03322a4](03322a4))

### 👷 CI

* align Dependabot schedule and grouping ([#350](#350)) ([a9ec246](a9ec246))
* **deps:** bump go.opentelemetry.io/otel/sdk from 1.45.0 to 1.47.0 ([#346](#346)) ([c98a06c](c98a06c))
* set up orchestrators from repos.yaml ([#351](#351)) ([99c4f6b](99c4f6b))

### 📚 Documentation

* add guardrails, mtls, agent mcp and receiver examples ([#364](#364)) ([f8dbeec](f8dbeec))
* Add Mirelo and Webwright to provider list and correct FAQ namespace advice ([#353](#353)) ([0c5ff1f](0c5ff1f))
* align gateway, agent and install docs with the controllers ([#362](#362)) ([4ba29fe](4ba29fe)), closes [#357](#357)
* **orchestrator:** fix example secret namespace and mcp build step ([#360](#360)) ([3d7319c](3d7319c))
* **providers:** document mirelo and webwright ([#344](#344)) ([7f410fd](7f410fd))
* use lowercase commit subjects in AGENTS.md examples ([#354](#354)) ([c0d20cb](c0d20cb))
* wire gpu example through openai and drop custom provider ([#361](#361)) ([c613bee](c613bee))

### 🔧 Miscellaneous

* **deps:** bump flox dependencies to latest ([#348](#348)) ([baaeb1e](baaeb1e))
* **deps:** bump flox dependencies to latest ([#349](#349)) ([9dfad6d](9dfad6d))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.37.1 🎉

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 Nov 17, 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] examples/gpu and the custom provider docs set provider env vars the gateway never reads

1 participant