You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] sync SDK to schemas v0.6.1: zai provider + Responses API #76
inference-gateway/schemas v0.6.1 has drifted ahead of the SDK's generated models.py. While adding the llamacpp provider (#74, PR #75) as a surgical enum edit, diffing the committed openapi.yaml snapshot against v0.6.1 surfaced two additions that a full task generate would bring in but that were out of scope for the llamacpp change:
a new provider zai, appended after nvidia in the Provider enum
an entire OpenAI-compatible Responses API: POST /responses, plus CreateResponseRequest, Response, ResponseStreamEvent, and roughly 30 related schemas. client.py has no method for this endpoint yet.
PR #75 intentionally did not include these to keep it minimal, and because the CI sandbox had no network / datamodel-codegen to run codegen. A full task generate should be run in an environment with the toolchain to sync models.py and openapi.yaml to v0.6.1, and client.py should gain a method for the Responses API.
Acceptance Criteria
Provider enum includes zai
models.py regenerated from schemas v0.6.1 (Responses API models present)
client.py exposes a method for POST /responses (including the streaming variant)
Still relevant: models.py had llamacpp (#75) but no zai and no Responses API. Synced to v0.6.2 (current latest tag; only an internal rename separates it from the v0.6.1 named in the issue, and task generate always pulls latest).
Diffed committed spec/models vs v0.6.2 - model-affecting deltas: Provider += zai, Endpoints += responses, Responses API block
openapi.yaml regenerated to v0.6.2
Provider enum includes zai; Endpoints gains optional responses
Tests added (zai value, create_response parse/default-omission/structured-input+tools, streaming); all modules py_compile-clean
Acceptance criteria
Provider enum includes zai
models.py synced to v0.6.2 (Responses API models present)
client.py exposes POST /responses incl. streaming
Working tree clean; tests added (see caveat)
Heads-up for reviewers
This sandbox has no datamodel-codegen/pydantic and blocks pip install, so I could not run pytest or the codegen here. models.py was hand-applied to match codegen output (exact deltas verified by diffing the committed spec against v0.6.2) and syntax-checked with py_compile; PR CI runs the real suite. New classes are appended at the file end (not interleaved in spec order) and two anonymous inline objects are named descriptively (Format, ResponseToolChoiceFunction) - semantically correct, but a follow-up task generate in a full toolchain is recommended to normalize ordering/naming to byte-clean.
Docs tracking issue opened: inference-gateway/docs#420. Roadmap board moved to QA.
· branch feat/issue-76-20260718-1850 · PR #77
Activity
edenreich commentedon Jul 18, 2026
@claude Can you work on this? is it still relevant? use /ponytail:ponytail
inference-gateway-maintainer commentedon Jul 18, 2026
Claude finished @edenreich's task in 19m 53s —— View job •
feat/issue-76-20260718-1850• [Create PR ➔](https://github.com/inference-gateway/python-sdk/compare/main...feat/issue-76-20260718-1850?quick_pull=1&title=Issue%20%2376%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%2376%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Done - synced to schemas v0.6.2 (PR #77)
Still relevant:
models.pyhadllamacpp(#75) but nozaiand no Responses API. Synced to v0.6.2 (current latest tag; only an internal rename separates it from the v0.6.1 named in the issue, andtask generatealways pulls latest).Provider += zai,Endpoints += responses, Responses API blockopenapi.yamlregenerated to v0.6.2Providerenum includeszai;Endpointsgains optionalresponsesCreateResponseRequest,Response,ResponseStreamEvent+ ~25 supporting schemas)client.py:create_response(POST /responses) +create_response_stream(yieldsSSEvent)__init__.pyzaivalue,create_responseparse/default-omission/structured-input+tools, streaming); all modulespy_compile-cleanAcceptance criteria
Providerenum includeszaimodels.pysynced to v0.6.2 (Responses API models present)client.pyexposesPOST /responsesincl. streamingHeads-up for reviewers
This sandbox has no
datamodel-codegen/pydanticand blockspip install, so I could not run pytest or the codegen here.models.pywas hand-applied to match codegen output (exact deltas verified by diffing the committed spec against v0.6.2) and syntax-checked withpy_compile; PR CI runs the real suite. New classes are appended at the file end (not interleaved in spec order) and two anonymous inline objects are named descriptively (Format,ResponseToolChoiceFunction) - semantically correct, but a follow-uptask generatein a full toolchain is recommended to normalize ordering/naming to byte-clean.Docs tracking issue opened: inference-gateway/docs#420. Roadmap board moved to QA.
· branch
feat/issue-76-20260718-1850· PR #77inference-gateway-releaser commentedon Jul 18, 2026
🎉 This issue has been resolved in version 0.8.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀