Skip to content

docs: sync examples and README with gateway config - #177

Merged
edenreich merged 2 commits into
mainfrom
feat/issue-173-20261117-1939
Nov 17, 2026
Merged

edenreich merged 2 commits into
mainfrom
feat/issue-173-20261117-1939

Conversation

@inference-gateway-maintainer

@inference-gateway-maintainer inference-gateway-maintainer Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Syncs the examples and README with the gateway config in the vendored openapi.yaml (schemas v1.14.0).

  • examples/.env.example: renamed TELEMETRY_ENABLE, A2A_ENABLE and AUTH_ENABLE to their _ENABLED names. Removed the A2A, AUTH_OIDC_CLIENT_SECRET and CLIENT_TIMEOUT settings the gateway no longer defines. Added the remaining A2A settings (A2A_RESOURCE_URL, A2A_STREAM_IDLE_TIMEOUT, A2A_CARD_REFRESH_INTERVAL), the VISION_ENABLED, IMAGES_ENABLED, AUDIO_ENABLED and DECISIONS_ENABLED flags (all false, the spec defaults), and API keys for LlamaCPP, Ollama Cloud, ElevenLabs, Mistral, MiniMax, Moonshot, NVIDIA, Z.AI, WebWright and Mirelo. Removed every *_API_URL entry - the gateway falls back to its built-in provider URLs, so the example lists only the keys.
  • examples/images/README.md and examples/decisions/README.md: the prerequisites now say to set IMAGES_ENABLED=true and DECISIONS_ENABLED=true. Without them those endpoints return 404.
  • README.md: added WebWright and Mirelo to "Supported Providers" and the Decisions example to "Examples".
  • examples/chat/main.py: prints message.content.root, so the output is the reply text instead of root='...'.

Testing

Not run: the runner has no black, isort or mypy. The only Python change reads .root on Message.content, which is a required MessageContent root model. No generated code changed and there is no change to the SDK API.

no docs ticket: internal-only refactor (example config and README only, no SDK behavior change)

Closes #173

Generated with Claude Code

@edenreich

Copy link
Copy Markdown
Contributor

@claude can you resolve the merge conflict? also I think we can remove the *_API_URL from the .env.example

@inference-gateway-maintainer

inference-gateway-maintainer Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor Author

Claude finished @edenreich's task in 1m 18s —— View job


  • Resolve the merge conflict with main
  • Remove the *_API_URL entries from examples/.env.example

Summary

I merged main into the branch in one merge commit, c6309de. The PR is now mergeable.

  • Conflict: it was only in README.md "Examples". This branch added the Decisions link and main (docs: add audio example for create_speech, create_sfx and create_music #176) added the Audio link in the same spot. I kept both.
  • .env.example: removed all 18 *_API_URL lines, so the Providers section now lists only *_API_KEY entries. Nothing else in the repo uses those names.
  • PR description: updated to say the file lists only API keys.

One thing to check: CLOUDFLARE_API_URL had an {ACCOUNT_ID} placeholder in its path, so Cloudflare users may still need to set it. It's gone now along with the others. Tell me if you want that one back.

Not run: lint and tests. Only Markdown and .env.example changed in this commit.
| Branch

@edenreich
edenreich merged commit ee0999d into main Nov 17, 2026
1 check passed
@edenreich
edenreich deleted the feat/issue-173-20261117-1939 branch November 17, 2026 19:47
inference-gateway-releaser Bot added a commit that referenced this pull request Nov 17, 2026
## [0.26.0](v0.25.0...v0.26.0) (2026-11-17)

### ✨ Features

* sync schemas v1.14.1 and accept standard OpenAI stream chunks ([#182](#182)) ([d4e2634](d4e2634)), closes [#181](#181)

### 🐛 Bug Fixes

* allow null stop_reason in Messages stream message_start ([#179](#179)) ([cb9440e](cb9440e))
* read stream chunks as JSON in chat examples ([#178](#178)) ([fca4630](fca4630)), closes [#172](#172)

### 👷 CI

* align Dependabot schedule and grouping ([#169](#169)) ([3f5ad19](3f5ad19))
* set up orchestrators from repos.yaml ([#170](#170)) ([bffe983](bffe983))

### 📚 Documentation

* add audio example for speech, sfx and music ([#176](#176)) ([c1f04d0](c1f04d0))
* add Responses API example and README section ([#180](#180)) ([ec0e02a](ec0e02a))
* sync examples and README with gateway config ([#177](#177)) ([ee0999d](ee0999d))

### 🔧 Miscellaneous

* **deps:** bump flox dependencies to latest ([#167](#167)) ([55f32c5](55f32c5))
* **deps:** bump flox dependencies to latest ([#168](#168)) ([de020e9](de020e9))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.26.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 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 drift: stale gateway env vars in examples/.env.example, missing feature flags, outdated README lists

1 participant