Skip to content

docs(sdks): add llamacpp to supported providers list - #422

Merged
edenreich merged 2 commits into
mainfrom
fix/issue-419
Jul 18, 2026
Merged

edenreich merged 2 commits into
mainfrom
fix/issue-419

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Resolves #419

Summary

The Python SDK (inference-gateway) now exposes the llamacpp provider via Provider("llamacpp") as of inference-gateway/python-sdk#75. This change adds llamacpp to the supported providers list in the SDKs documentation page so users know it is available.

Changes

  • Added llamacpp to the comma-separated list of supported providers in the "Supported providers" section of sdks.md, placed between ollama_cloud and google to match the ordering in the generated provider table on the Supported Providers page.

@inference-gateway-maintainer
inference-gateway-maintainer Bot marked this pull request as ready for review July 18, 2026 19:53
@inference-gateway-maintainer
inference-gateway-maintainer Bot requested a review from a team as a code owner July 18, 2026 19:53
@edenreich

Copy link
Copy Markdown
Contributor

@infer isn't this part a part of the task generate ?

@inference-gateway-maintainer

inference-gateway-maintainer Bot commented Jul 18, 2026 •

Copy link
Copy Markdown
Contributor Author

Model: ollama_cloud/deepseek-v4-flash · View Job

I'm cooking...will get back to you soon...

Pull Request

#422

✅ Infer Result: Success

The existing change in this PR (commit 84f8f40) is correct as-is - the sdks.md provider list is hand-authored prose, not a generated region, so the manual edit adding llamacpp between ollama_cloud and google is the right approach. No further action needed.

Model: ollama_cloud/deepseek-v4-flash · Exit Code: 0 · Duration: 23s

Tokens: 199,347 in · 1,491 out · 200,838 total (5 requests)

Tool calls: 6 total · 100% success rate

Traces
Session: 1784404786-e851ed1e

session (standard, success)                21.6s
├── chat ollama_cloud/deepseek-v4-flash     2.3s
├── execute_tool Bash                        4ms
├── execute_tool Bash                        5ms
├── chat ollama_cloud/deepseek-v4-flash     1.8s
├── execute_tool Read                        1ms
├── execute_tool Read                      624µs
├── chat ollama_cloud/deepseek-v4-flash     4.4s
├── execute_tool Grep                       1.1s
├── execute_tool Grep                        1ms
├── chat ollama_cloud/deepseek-v4-flash     8.4s
╰── chat ollama_cloud/deepseek-v4-flash     2.9s
Stats
Tool Calls

╭──────┬───────┬───────┬───────╮
│ Tool │ Calls │ Fail% │ Avg   │
├──────┼───────┼───────┼───────┤
│ Bash │ 2     │ 0%    │ 5ms   │
│ Grep │ 2     │ 0%    │ 531ms │
│ Read │ 2     │ 0%    │ 1ms   │
╰──────┴───────┴───────┴───────╯

Token Usage

╭────────────────────────────────┬────────┬────────────┬────────┬──────╮
│ Model                          │ Prompt │ Completion │ Total  │ Cost │
├────────────────────────────────┼────────┼────────────┼────────┼──────┤
│ ollama_cloud/deepseek-v4-flash │ 199347 │ 1491       │ 200838 │ -    │
╰────────────────────────────────┴────────┴────────────┴────────┴──────╯

Sessions

╭───────────┬──────────┬──────────╮
│ Execution │ Mode     │ Sessions │
├───────────┼──────────┼──────────┤
│ headless  │ standard │ 1        │
╰───────────┴──────────┴──────────╯

Triggered by edenreich · Infer Action

@edenreich

Copy link
Copy Markdown
Contributor

@claude Please add this to the generated flow, deepseek is too lazy to do so.

@inference-gateway-maintainer

inference-gateway-maintainer Bot commented Jul 18, 2026 •

Copy link
Copy Markdown
Contributor Author

Claude finished @edenreich's task in 7m 50s —— View job


Wired the SDKs provider list into task generate ✅

Eden was right - this belonged in the generator. The hand-authored list in sdks.md had already drifted from the canonical set (it was missing zai and ordered providers differently from every other generated region), which is exactly the drift generating it prevents.

Done:

  • Added a renderSdksProviderList renderer to scripts/generate-provider-docs.mjs (backtick-wrapped ids, canonical order, Oxford comma) and wired it into main() via a new sdks.md marked region
  • Wrapped the list in sdks.md with `` markers
  • Added sdks.md to GENERATED_FILES in Taskfile.yml so task generate runs prettier on it and task generate:check catches drift
  • Added the SDKs provider list matches sdks.md regression test
  • Updated CLAUDE.md (seven -> eight regions, four -> five generated files)
  • Verified: bun test (11 pass), prettier --check, and markdownlint all green

Net effect on the rendered list (the drift the schema now owns):

-`openai`, `anthropic`, `cohere`, `groq`, `cloudflare`, `ollama`, `ollama_cloud`, `llamacpp`, `google`, `deepseek`, `mistral`, `minimax`, `moonshot`, and `nvidia`.
+`openai`, `deepseek`, `anthropic`, `cohere`, `groq`, `cloudflare`, `ollama_cloud`, `ollama`, `llamacpp`, `google`, `mistral`, `minimax`, `moonshot`, `nvidia`, and `zai`.

I generated the region offline against the committed fixture (SCHEMA_FILE=scripts/__fixtures__/openapi.sample.yaml), since the sandbox can't reach the network. That's byte-identical to what CI's task generate produces from the real schema: the render order comes from provider-overrides.json, and the fixture is kept in lockstep with the upstream schema by the existing regression suite - so task generate:check will stay green.

One thing I left alone (out of scope, hand-authored prose): the sentence right after the list still reads "The newest addition, nvidia,...", which predates zai. Happy to refresh that separately if you want it to track the real newest provider.
· Branch fix/issue-419

@edenreich
edenreich merged commit ed2a466 into main Jul 18, 2026
1 check passed
@edenreich
edenreich deleted the fix/issue-419 branch July 18, 2026 20:14
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))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] document llamacpp provider in the Python SDK

1 participant