opencode
opencode copied to clipboard
Unrecognized key: "limit" provider.llama.cpp
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
- Copy the configuration from https://opencode.ai/docs/providers/#llamacpp
- Run opencode
Screenshot and/or share link
No response
Operating System
Debian 13
Terminal
Kitty
This issue might be a duplicate of existing issues. Please check:
- #855: Unrecognized key(s) binds - Similar unrecognized key validation errors in config
- #1250: OpenCode crashes when adding log_level to the configuration - Config file validation issues with unrecognized keys
- #1081: Cannot read newer opencode.json schema properties if opencode has not been updated - Related to schema version mismatches causing unrecognized key errors
- #3556: opentui: config unrecognized keys - Multiple unrecognized keys in keybinds configuration
- #3630: 1.0.2 - model_cycle_recent action is now missing - Missing action in keybinds
- #1416: How do I change the scroll speed? - Unrecognized key 'scroll_speed'
Feel free to ignore if none of these address your specific case.
@strk we need to fix the docs just move that limit block up 1 level under the model definition
/oc use the docs agent to fix this example
