Skip to content

Unrecognized key: "limit" provider.llama.cpp #5085

Closed

Description

@strk

Description

Following the instructions in https://opencode.ai/docs/providers/#llamacpp I get an error:

$ opencode
Config file at /home/strk/.config/opencode/opencode.json is invalid
↳ Unrecognized key: "limit" provider.llama.cpp

OpenCode version

1.0.132

Steps to reproduce

  1. Copy the configuration from https://opencode.ai/docs/providers/#llamacpp
  2. Run opencode

Screenshot and/or share link

No response

Operating System

Debian 13

Terminal

Kitty

Activity

  1. added
    bugSomething isn't working
    on Dec 4, 2025
  2. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Dec 4, 2025
  3. github-actions commented on Dec 4, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  4. rekram1-node commented on Dec 5, 2025

    @rekram1-node
    Contributor

    @strk we need to fix the docs just move that limit block up 1 level under the model definition

  5. rekram1-node commented on Dec 5, 2025

    @rekram1-node
    Contributor

    /oc use the docs agent to fix this example

  6. removed
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Dec 5, 2025
  7. self-assigned this
    on Dec 5, 2025
  8. opencode-agent commented on Dec 5, 2025

    @opencode-agent
    Contributor

    Created PR #5089

    New%20session%20-%202025-12-05T00%3A18%3A23.903Z
    opencode session  |  github run

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions