Repository navigation
Labels
Description
Summary
Several example and README items no longer match the code and the vendored spec (openapi.yaml, schemas v1.14.0). examples/README.md tells users to copy examples/.env.example to .env and start the gateway with it, but that file still uses env var names the gateway no longer defines and lacks the feature flags the images and decisions examples depend on, so those two examples get a 404 when run as documented. The root README.md provider list and example list lag behind the code, and examples/chat/main.py prints a model repr instead of the reply text. All runnable examples still type-check (task lint passes) - this is configuration and prose drift, not broken imports.
Acceptance Criteria
-
examples/.env.example: renameTELEMETRY_ENABLEtoTELEMETRY_ENABLED,A2A_ENABLEtoA2A_ENABLEDandAUTH_ENABLEtoAUTH_ENABLED- the gateway config inopenapi.yaml(Config.x-config, lines 5116, 5253 and 5284) only defines the_ENABLEDnames, so the old names are ignored. -
examples/.env.example: remove the settings the gateway config no longer defines -A2A_EXPOSE,A2A_POLLING_ENABLE,A2A_POLLING_INTERVAL,A2A_POLLING_TIMEOUT,A2A_MAX_POLL_ATTEMPTS,A2A_MAX_RETRIES,A2A_RETRY_INTERVAL,A2A_INITIAL_BACKOFF,A2A_ENABLE_RECONNECT,A2A_RECONNECT_INTERVAL,A2A_DISABLE_HEALTHCHECK_LOGS,AUTH_OIDC_CLIENT_SECRETandCLIENT_TIMEOUT. The A2A section ofConfig.x-confignow has onlyA2A_ENABLED,A2A_AGENTS,A2A_RESOURCE_URL,A2A_CLIENT_TIMEOUT,A2A_STREAM_IDLE_TIMEOUTandA2A_CARD_REFRESH_INTERVAL. -
examples/.env.example: add the feature flagsIMAGES_ENABLED,DECISIONS_ENABLED,AUDIO_ENABLEDandVISION_ENABLED(openapi.yaml:5062-5081, all defaultfalse) and the URL and key pairs for the providers theProviderliteral now includes but the file omits -LLAMACPP,OLLAMA_CLOUD,ELEVENLABS,MISTRAL,MINIMAX,MOONSHOT,NVIDIA,ZAI,WEBWRIGHTandMIRELO(openapi.yaml:5465-5600). -
examples/images/README.md: addIMAGES_ENABLED=trueto the prerequisites -create_imageandcreate_image_editcallPOST /images/generationsandPOST /images/edits, which return 404 while the flag is off (openapi.yaml:5067-5071). -
examples/decisions/README.md: addDECISIONS_ENABLED=trueto the prerequisites -create_decisioncallsPOST /decisions, which returns 404 while the flag is off (openapi.yaml:5077-5081). -
README.md"Supported Providers": add WebWright ("webwright") and Mirelo ("mirelo") - both are members of theProviderliteral ininference_gateway/models.py:12-34. -
README.md"Examples": add the Decisions example (./examples/decisions/) - the directory exists andexamples/README.mdalready lists it. -
examples/chat/main.py:37: printresponse.choices[0].message.content.root-Message.contentis aMessageContentroot model, so the current f-string printsResponse: root='...', while the snippet inexamples/chat/README.mdand the rootREADME.mdboth use.content.root.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Nov 17, 2026
@claude can you work on this?
inference-gateway-maintainer commentedon Nov 17, 2026
Claude finished @edenreich's task in 1m 10s —— View job •
feat/issue-173-20261117-1939• [Create PR ➔](https://github.com/inference-gateway/python-sdk/compare/main...feat/issue-173-20261117-1939?quick_pull=1&title=Issue%20%23173%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23173%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done: PR #177 is open
I opened #177. It makes every change in the issue's acceptance criteria. The issue is on Roadmap 2026 with status QA.
examples/.env.example_ENABLEDnames and removed the settings the gateway no longer defines.A2A_RESOURCE_URL,A2A_STREAM_IDLE_TIMEOUTandA2A_CARD_REFRESH_INTERVAL.VISION_ENABLED,IMAGES_ENABLED,AUDIO_ENABLEDandDECISIONS_ENABLED, all set tofalse.IMAGES_ENABLED=trueandDECISIONS_ENABLED=true. Without them those endpoints return 404.README.md: added WebWright and Mirelo to the provider list and the Decisions example to the examples list.examples/chat/main.py: now printsmessage.content.root, so it shows the reply text instead ofroot='...'.black,isortandmypyaren't installed on the runner. The only Python change reads.rootonMessage.content, which is a required field, so I expect no type errors.I didn't add
VIDEOS_ENABLED,GUARDRAILS_*,ROUTING_*or the newer MCP, telemetry and TLS settings to.env.example. The spec defines them, but the issue doesn't ask for them.| Branch
inference-gateway-releaser commentedon Nov 17, 2026
🎉 This issue has been resolved in version 0.26.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀