Repository navigation
feat: add llamacpp provider support - #161
Merged
Merged
Conversation
This was referenced Jul 18, 2026
inference-gateway-releaser Bot
added a commit
that referenced
this pull request
Jul 19, 2026
## [0.19.0](v0.18.0...v0.19.0) (2026-07-19) ### ✨ Features * add llamacpp provider support ([#161](#161)) ([732158d](732158d))
Contributor
|
🎉 This PR is included in version 0.19.0 🎉 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
Adds
llamacpp(llama.cpp's OpenAI-compatiblellama-server) to the operator's supported provider list, regenerated from the canonicalinference-gateway/schemasProviderenum (v0.6.1+), which now includesllamacpp(keyless:auth_type: none, defaulthttp://llamacpp:8080/v1).Changes
internal/providers/zz_generated_providers.go: add"llamacpp"toSupportedProviders(alphabetically, betweengroqandminimax) to match the live schema'scomponents.schemas.Provider.enum.internal/providers/providers_test.go: addIsSupportedcases forllamacppand the capitalizedLlamacppform used in Gateway CRs.Effect
providers: [{ name: Llamacpp, ... }]now passes the reconcile-timeproviders.IsSupportedcheck (gateway_controller.go:247) and reconciles. No CRD change is needed - provider names are validated at runtime, not via a kubebuilder enum marker.TestSupportedProvidersMatchSchemaconfirms parity against the live schema in CI.Verification
mainenum (15 entries, onlyllamacppadded).TestIsSupported(including the newllamacppcases) andTestSupportedProvidersHasNoDuplicatespass locally. The network-backed drift test runs in CI (offline in this sandbox).Downstream
examples/kubernetes/hybrid/gateway.yaml) can uncomment itsLlamacppprovider block.Closes #160