Repository navigation
feat: add llamacpp provider support - #151
Merged
Merged
Conversation
Regenerate src/types/generated from inference-gateway/schemas main. Adds llamacpp (keyless, http://llamacpp:8080/v1) to the Provider enum. The local schema was several releases behind, so the regen also adds the zai provider and Responses API types, and applies x-enum-varnames that rename MessageRole/FinishReason/reasoning_effort members to PascalCase (matching the README examples). Tests updated accordingly.
This was referenced Jul 18, 2026
Closed
inference-gateway-releaser Bot
added a commit
that referenced
this pull request
Jul 18, 2026
## [0.12.0](v0.11.0...v0.12.0) (2026-07-18) ### ✨ Features * add llamacpp provider support ([#151](#151)) ([480a5df](480a5df)) ### 👷 CI * **claude:** centralize claude.yml via reusable workflow ([#145](#145)) ([8c5b5db](8c5b5db)) * **deps-dev:** bump the npm group with 4 updates ([#143](#143)) ([193f693](193f693)) * **deps-dev:** bump the npm group with 4 updates (revert typescript to ^6.0.3) ([#148](#148)) ([7eb3cc1](7eb3cc1)) * **deps:** bump actions/setup-node in the github-actions group ([#147](#147)) ([e8e63cb](e8e63cb)) * **deps:** bump inference-gateway/.github/.github/workflows/claude.yml ([#142](#142)) ([e26de89](e26de89)) * **infer:** centralize infer.yml via reusable workflow ([#140](#140)) ([a611a54](a611a54)) * **infer:** centralize infer.yml via reusable workflow ([#141](#141)) ([f308645](f308645)) * **release:** update semantic release and plugins to latest versions with local installation ([1a70b70](1a70b70)) * restrict default workflow token permissions to contents: read ([#139](#139)) ([2285723](2285723)) ### 🔧 Miscellaneous * **deps:** bump claude-code 2.1.177 -> 2.1.197, claude-code-action v1.0.161 -> v1.0.165 ([#133](#133)) ([c217b4f](c217b4f)) * **deps:** bump claude-code 2.1.197 -> 2.1.201 ([#134](#134)) ([212450d](212450d)) * **deps:** bump claude-code-action v1.0.168 -> v1.0.169 ([#144](#144)) ([78500f4](78500f4)) * **deps:** bump infer CLI v0.130.1 -> v0.133.0, infer-action v0.24.0 -> v0.26.0 ([#135](#135)) ([a1b5f3e](a1b5f3e)) * **deps:** bump infer CLI v0.133.0 -> v0.133.1, infer-action v0.26.0 -> v0.27.1 ([#136](#136)) ([6d09b1d](6d09b1d)) * **deps:** bump infer CLI v0.133.1 -> v0.137.0, infer-action v0.27.1 -> v0.29.0 ([#137](#137)) ([3fedb5a](3fedb5a)) * **deps:** bump infer CLI v0.137.0 -> v0.138.0, infer-action v0.29.0 -> v0.30.1 ([#138](#138)) ([5ab09cb](5ab09cb)) * **deps:** bump infer CLI v0.138.0 -> v0.141.0 ([#146](#146)) ([87703a0](87703a0)) * **deps:** bump infer CLI v0.141.0 -> v0.147.1 ([#149](#149)) ([96f6705](96f6705)) * **release:** update GitHub App credentials to use RELEASER_APP_ID and RELEASER_APP_PRIVATE_KEY ([c0b5235](c0b5235)) * remove deprecated configuration and shortcut files ([b44f38a](b44f38a))
Contributor
|
🎉 This PR is included in version 0.12.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This was referenced Jul 18, 2026
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
Regenerate
src/types/generated/index.tsfrominference-gateway/schemasmainusing the canonicaltask oas-download && task generate-typesflow. This adds thellamacppprovider requested in #150.The local
openapi.yamlwas several schema releases behind, so a faithful regen (required by the "working tree clean after regen" criterion and the repo rule that generated types must track upstream, never be hand-patched) also pulls in the changes that shipped alongsidellamacppin the v0.6.x line:Provider.llamacpp(keyless, default URLhttp://llamacpp:8080/v1)Provider.zaiCreateResponseRequest,Response,ResponseStreamEvent, and related schemas)x-enum-varnamesthat rename several enum members to PascalCaseCompatibility note (enum member renames)
Upstream added
x-enum-varnames, so these exported enum members are renamed. The string values are unchanged, so runtime behavior is identical - only the TypeScript identifiers change:MessageRole:system|user|assistant|tool->System|User|Assistant|ToolFinishReason:stop|length|tool_calls|content_filter|function_call->Stop|Length|ToolCalls|ContentFilter|FunctionCallCreateChatCompletionRequestReasoning_effort:minimal|low|medium|high->Minimal|Low|Medium|HighThe README examples already use the PascalCase form, so this brings the generated types in line with the documented usage.
Providermembers stay lowercase (upstream did not add varnames there), so the new provider is accessed asProvider.llamacpp.Acceptance criteria
Providerenum includesllamacppmain)Downstream impact
inference-gateway/typescript-adkcan useProvider.llamacppafter the release.MessageRole/FinishReason/reasoning_effortmembers will need to update to the PascalCase names above. The SDK is pre-1.0, so this ships as a minor release; flagging here so the change is communicated.Closes #150