How to copy opencode.json config for registered providers in 9router? #4531
|
does 9router provides auto generated opencode.json config to copy and save it for opencode? so the registered models in available providers can be used automatically |
Replies: 1 comment 1 reply
|
Yes. In the 9Router dashboard, open CLI Tools, then OpenCode. Choose the endpoint and the models you want, then click Manual Config. Copy the generated JSON into I ran the current The generated |
Yes. In the 9Router dashboard, open CLI Tools, then OpenCode. Choose the endpoint and the models you want, then click Manual Config. Copy the generated JSON into
~/.config/opencode/opencode.jsonon the machine running OpenCode. If OpenCode runs on the same machine as 9Router, Apply can write that file directly.I ran the current
OpenCodeToolCardconfig generator with two selected model IDs. It produced:The generated
provider.9router.modelslist contains the models selected in that card. It does not automatically export every model from eve…