Skip to content
Discussion options

You must be logged in to vote

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.json on the machine running OpenCode. If OpenCode runs on the same machine as 9Router, Apply can write that file directly.

I ran the current OpenCodeToolCard config generator with two selected model IDs. It produced:

file: ~/.config/opencode/opencode.json
models: provider/model-a, provider/model-b
active: 9router/provider/model-a
baseURL: http://127.0.0.1:20127/v1

The generated provider.9router.models list contains the models selected in that card. It does not automatically export every model from eve…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@idkman-v
Comment options

Answer selected by idkman-v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants