Repository navigation
docs(sdks): document python responses api and zai provider - #423
Merged
Merged
Conversation
This was referenced Jul 18, 2026
inference-gateway-releaser Bot
added a commit
that referenced
this pull request
Jul 18, 2026
## [0.9.2](0.9.1...0.9.2) (2026-07-18) ### 📚 Documentation * add CLI telemetry documentation for traces, logs, and metrics ([#392](#392)) ([f8bfcdc](f8bfcdc)) * **adk:** align telemetry docs with A2A_TELEMETRY_ENABLE as single trace gate ([#403](#403)) ([fea405f](fea405f)), references [inference-gateway/adk#234](inference-gateway/adk#234) * **adl-cli,adk:** document OTel service.name/service.version from ADL manifest metadata ([#408](#408)) ([be1b66e](be1b66e)) * **adl-cli:** move generated skills to .agents/skills layout ([#421](#421)) ([2e4e925](2e4e925)) * align ADK telemetry config with OpenTelemetry ([#400](#400)) ([aa0a862](aa0a862)) * **cli-channels:** document channels-manager OTLP telemetry setup ([#415](#415)) ([283ddff](283ddff)) * **cli,a2a:** document A2A agent liveness probes ([#425](#425)) ([5844ea9](5844ea9)), closes [#424](#424) * **cli:** document distributed tracing - infer traces, telemetry.receiver_address, a2a-traces example ([#406](#406)) ([4fc24f5](4fc24f5)), references [inference-gateway/cli#909](inference-gateway/cli#909) * document /tasks output panel and agent inherit_mock ([#388](#388)) ([7f3d72b](7f3d72b)) * document built-in skills and tmux skill ([#386](#386)) ([fc013ab](fc013ab)) * document extended spec.telemetry otel exporter fields ([#399](#399)) ([712f6de](712f6de)) * document infer traces command and /traces shortcut ([#393](#393)) ([b938a19](b938a19)) * document infer-action workflow for infer orchestrator ([#396](#396)) ([4e1d792](4e1d792)) * document W3C trace propagation and OTLP span ingestion ([#394](#394)) ([f26494c](f26494c)) * **llamacpp:** add llama.cpp provider documentation ([#417](#417)) ([356f9ac](356f9ac)) * note Go SDK retry cancellation preserves HTTP error ([#382](#382)) ([e39bcab](e39bcab)) * **observability:** document OTEL_METRICS_EXPORTER and Prometheus pull env vars ([#412](#412)) ([b450177](b450177)), closes [#409](#409) * **operator:** add Orchestrator CRD telemetry reference ([#413](#413)) ([8210e06](8210e06)) * **rust-adk:** document A2A_OTEL_TRACES_EXPORTER trace gating ([#407](#407)) ([29c5f67](29c5f67)) * **sdks:** add llamacpp to supported providers list ([#422](#422)) ([ed2a466](ed2a466)) * **sdks:** document python responses api and zai provider ([#423](#423)) ([c5b608e](c5b608e)) ### 🔧 Miscellaneous * **deps-dev:** bump the bun group with 2 updates ([#384](#384)) ([fc813d8](fc813d8)) * **deps:** bump infer CLI v0.141.0 -> v0.147.1 ([#411](#411)) ([03b6342](03b6342)) * **release:** update GitHub App credentials to use RELEASER_APP_ID and RELEASER_APP_PRIVATE_KEY ([4275006](4275006))
Contributor
|
🎉 This PR is included in version 0.9.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the Python SDK Responses API surface added in inference-gateway/python-sdk#77 (syncs to schemas v0.6.2), in a new
### Responses APIsubsection of the Python section insdks.md:create_response(model, input, provider=None, max_output_tokens=None, tools=None, **kwargs)->Response, with an example that walksresponse.outputforoutput_textparts.create_response_stream(...)-> yieldsSSEvent; streaming example decodeschunk.dataintoResponseStreamEventand readsresponse.output_text.deltaevents (mirrors the chat streaming example).ResponseToolfunction shape and the string-or-itemsinput.Validation of gateway support (per the issue request)
Eden asked to confirm whether
/responsesis implemented on the gateway. It is not:schemas/openapi.yaml@maindefinesPOST /responses(provider-dependent;400for unsupported providers), which is why the Python SDK can generate the client andResponse*models.inference-gateway/inference-gateway@main) registers only/health,/proxy/...,/v1/models,/v1/mcp/tools,/v1/chat/completions,/v1/metricsincmd/gateway/main.go. There is no/v1/responsesroute and noResponsesHandler, so a call today hitsNoRoute-> 404.The docs therefore document the SDK surface but add a
> **Note:**that the Responses API is currently OpenAI-only at the provider level and is not yet routed by the gateway (returns 404 until a gateway release adds the handler).Scope notes
zaiis already present in every generated region (schema Provider enum), so no provider-list change was needed.Downstream impact
The gateway needs a
POST /v1/responseshandler for these SDK methods to work end to end. Filing a follow-up tracking issue for the gateway.Closes #420