Skip to content

docs(readme): correct MCP_ENABLED env var, provider list, vision reference, and images example - #137

Merged
edenreich merged 1 commit into
mainfrom
fix/issue-135
Sep 25, 2026
Merged

edenreich merged 1 commit into
mainfrom
fix/issue-135

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Resolves #135

Summary

Fixes four spots where the README had drifted from the code and the repository: the MCP env var name, the supported-provider list, a stale vision-example reference, and a missing entry for the images example. Documentation only - no code behavior changes.

Changes

  • Fixed the MCP_ENABLE -> MCP_ENABLED env var typo in README.md ("Listing MCP Tools"), examples/mcp/README.md, examples/mcp/main.py, and examples/.env.example. This matches the gateway's env: 'MCP_ENABLED' in openapi.yaml, the mcp_jsonrpc docstring in inference_gateway/client.py, and line 140 of the same README.
  • Added the three missing providers to "Supported Providers": LlamaCPP (llamacpp), ElevenLabs (elevenlabs), Z.AI (zai). The list now covers all 16 values of Provider in inference_gateway/models.py.
  • Removed the "For a complete example, see the chat example" sentence from the Vision Support section: examples/chat/main.py sends plain-text messages only, and the repo has no dedicated vision example to point to.
  • Added the Images example (create_image / create_image_edit demo) to the Examples list in README.md and examples/README.md.
  • Added examples/images/README.md (usage, prerequisites, code snippets, env vars), so "Each example includes its own README" now holds for every example.

Tests

  • task lint (black --check, isort --check-only, mypy): passed
  • task test: 41 passed, 1 xfailed

no docs ticket needed: docs-only change correcting this repo's own README, no public-facing behavior change

@inference-gateway-maintainer
inference-gateway-maintainer Bot marked this pull request as ready for review September 25, 2026 22:52
@edenreich
edenreich merged commit 8cc2ef6 into main Sep 25, 2026
1 check passed
@edenreich
edenreich deleted the fix/issue-135 branch September 25, 2026 22:54
inference-gateway-releaser Bot added a commit that referenced this pull request Sep 26, 2026
## [0.21.1](v0.21.0...v0.21.1) (2026-09-26)

### 🐛 Bug Fixes

* **client:** carry HTTP status and error body into InferenceGatewayAPIError ([#139](#139)) ([d58a54f](d58a54f))
* **client:** close requests Session in close() and apply timeout to streaming calls ([#138](#138)) ([4a1e48f](4a1e48f))
* **client:** route health_check and proxy_request to root-level routes ([#136](#136)) ([ec782ca](ec782ca))

### 📚 Documentation

* **readme:** correct MCP_ENABLED env var, provider list, vision reference, and images example ([#137](#137)) ([8cc2ef6](8cc2ef6))
* **readme:** document streaming error behavior parity ([#140](#140)) ([23a1d69](23a1d69))

### 🔧 Miscellaneous

* **deps:** bump claude-code 2.1.278 -> 2.1.280 ([#130](#130)) ([2a73e16](2a73e16))
* **deps:** bump infer CLI v0.205.3 -> v0.208.0 ([#131](#131)) ([703f184](703f184))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.21.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 Sep 26, 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] README drift: MCP_ENABLED env var, supported providers, examples references

1 participant