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
inference-gateway/inference-gateway added a new first-class provider, llamacpp (llama.cpp's OpenAI-compatible llama-server), in inference-gateway/inference-gateway#448. The canonical Provider enum in inference-gateway/schemasv0.6.1 now includes llamacpp (keyless: auth_type: none, default URL http://llamacpp:8080/v1).
What to change
Regenerate inference_gateway/models.py: the Taskfile's OPENAPI_URL points at inference-gateway/schemasmain (already at v0.6.1), so a regen adds LLAMACPP to the Provider enum.
Publish a release to PyPI so consumers can use Provider.LLAMACPP.
Added llamacpp to the Provider enum in inference_gateway/models.py, in the exact position it holds in inference-gateway/schemas v0.6.1 (groq -> llamacpp -> openai), so Provider("llamacpp") now validates. Added a matching assertion to test_provider_values.
The issue expected a regen to only add llamacpp, but the spec on main has drifted well past that. Versus the SDK's current models.py, v0.6.1 also adds a second provider zai and an entire Responses API (POST /responses + ~30 new schemas that client.py has no methods for). A full task generate would pull all of that in - out of scope for "add llamacpp".
On top of that, this sandbox has no outbound network and no datamodel-codegen (pip and HTTP are blocked), so a faithful full regen couldn't run here anyway. I made the two-line enum edit by hand to match codegen output exactly, and left the throwaway openapi.yaml snapshot untouched. Filed the drift as follow-ups so it isn't lost:
pytest/pydantic aren't installable in this sandbox, so I couldn't run the suite here. Both files pass python -m py_compile; the change is mechanical and the added test asserts Provider("llamacpp").root == "llamacpp". CI (which installs deps) will run the full suite on the PR.
Activity
[-]feat: add llamacpp provider support[/-][+][FEATURE] add llamacpp provider support[/+]edenreich commentedon Jul 18, 2026
@claude Can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Jul 18, 2026
Claude finished @edenreich's task in 14m 50s —— View job
Task: add llamacpp provider support
llamacppto theProviderenum inmodels.pyWhat I did
Added
llamacppto theProviderenum ininference_gateway/models.py, in the exact position it holds ininference-gateway/schemasv0.6.1 (groq->llamacpp->openai), soProvider("llamacpp")now validates. Added a matching assertion totest_provider_values.PR: #75
"groq", + "llamacpp", "openai",Why a surgical edit instead of
task generateThe issue expected a regen to only add
llamacpp, but the spec onmainhas drifted well past that. Versus the SDK's currentmodels.py, v0.6.1 also adds a second providerzaiand an entire Responses API (POST /responses+ ~30 new schemas thatclient.pyhas no methods for). A fulltask generatewould pull all of that in - out of scope for "add llamacpp".On top of that, this sandbox has no outbound network and no
datamodel-codegen(pip and HTTP are blocked), so a faithful full regen couldn't run here anyway. I made the two-line enum edit by hand to match codegen output exactly, and left the throwawayopenapi.yamlsnapshot untouched. Filed the drift as follow-ups so it isn't lost:zai+ Responses API)Verification
pytest/pydanticaren't installable in this sandbox, so I couldn't run the suite here. Both files passpython -m py_compile; the change is mechanical and the added test assertsProvider("llamacpp").root == "llamacpp". CI (which installs deps) will run the full suite on the PR.Not done
ReleaseGitHub Action by a maintainer; I can't publish to PyPI. Merge PR feat: add llamacpp provider to Provider enum #75, then run the release workflow.· Branch
feat/issue-74-20260718-1835inference-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 📦🚀