Skip to content

[DOCS] Document llamacpp as a supported operator provider #430

Closed

Description

Summary

The operator now recognizes llamacpp (llama.cpp's OpenAI-compatible llama-server) as a supported provider for the Gateway CR field spec.providers[].name, matching the canonical inference-gateway/schemas Provider enum (v0.6.1+, keyless: auth_type: none, default http://llamacpp:8080/v1).

Operator PR: inference-gateway/operator#161

If the provider docs are generated purely from the schema they may already pick this up on the next regen - this ticket is to confirm the operator-facing pages (supported-providers list and Gateway CR examples) reflect llamacpp.

Acceptance Criteria

  • Supported-providers documentation lists llamacpp
  • A Gateway CR example shows a keyless Llamacpp provider block
  • Any schema-generated pages are regenerated from schemas v0.6.1+ where applicable

Activity

  1. added
    documentation
    on Jul 18, 2026
  2. edenreich commented on Jul 19, 2026

    @edenreich
    Contributor

    @claude Can you work on this?

  3. moved this to Todo in 2026on Jul 19, 2026
  4. changed the issue type fromtoon Jul 19, 2026
  5. inference-gateway-maintainer commented on Jul 19, 2026

    @inference-gateway-maintainer
    ContributorAuthor

    Claude finished @edenreich's task in 6m 31s —— View job • docs/issue-430-20260719-1014 • [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-430-20260719-1014?quick_pull=1&title=Issue%20%23430%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23430%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)


    Documented llamacpp as a supported operator provider

    Opened PR #431.

    • Read repo context + CLAUDE.md generation model
    • Audit which acceptance criteria are already met
    • Verify generated regions are consistent (bun test, offline)
    • Add a keyless Llamacpp Gateway CR example to operator.md
    • Lint + format check + build the change
    • Commit and open PR

    What I found

    Most of this was already shipped on main - the schema-generated docs picked up llamacpp on a prior regen. The only real gap was the operator-facing example.

    Acceptance criterion Status
    Supported-providers lists llamacpp Already done - providers table, vision list, uppercase env-prefix list, and a dedicated provider section in supported-providers.md.
    Keyless Llamacpp Gateway CR example Added - see below.
    Schema-generated pages regenerated (v0.6.1+) Already done - configuration.md, supported-providers.md, rust-adk.md, typescript-adk.md all reflect llamacpp (auth_type: none, http://llamacpp:8080/v1). Verified consistent via bun test.

    What I changed

    Added a "Keyless Providers (Self-Hosted)" section to operator.md. Every existing Gateway CR example there used name: OpenAI with an API-key Secret; there was no keyless pattern shown. The new example enables Llamacpp with no Secret and no *_API_KEY, overriding LLAMACPP_API_URL to point at an in-cluster llama-server, and notes that name matches the schema Provider enum case-insensitively and that Ollama follows the same shape.

    No schema or provider-overrides.json change was needed (the hard facts were already generated), so no task generate run was required - which is fortunate since it's network-blocked in this sandbox anyway.

    Verification

    • bun test - 11/11 pass (generated regions match committed docs; fixture includes llamacpp)
    • bun run lint:md - clean
    • bunx prettier --check operator.md - clean
    • bun run build - builds fully offline; new inline code compiles cleanly (no Vue-compiler ${{ }}/angle-bracket issues)
      · branch docs/issue-430-20260719-1014 · PR #431
  6. moved this from Todo to In progress in 2026on Jul 19, 2026
  7. moved this from In progress to QA in 2026on Jul 19, 2026
  8. moved this from QA to Done in 2026on Jul 19, 2026
  9. inference-gateway-releaser commented on Jul 22, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.3 🎉

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions