Prerequisites
- BetterToken API Key (register here)
Install OpenCode
- curl
- npm
Setup
Edit the OpenCode config file
Config file location:
~/.config/opencode/opencode.jsonAdd the following (replace YOUR_API_KEY):Add more models
Add multiple models to themodels field in the config: