OpenCode articles

OpenCode 85 OpenCode with All in One AI: creating opencode.json from scratch, the key and the models OpenCode is an open-source coding agent that works in the terminal. It speaks the OpenAI format (Chat Completions),...
OpenCode 68 OpenCode rejects the file with Unrecognized key: "providers": how to fix it OpenCode has two ways to write a provider in its configuration file. Newer versions know both. Older ones only know...
OpenCode 79 OpenCode for all projects or for one: the global opencode.jsonc and the project file OpenCode reads its configuration from more than one place. Put the Interweb provider in the global file and it shows...
OpenCode 67 Adding more models to OpenCode: the models block and the id with the slash For your own provider, OpenCode only shows the models written in the models block of the file. To have another All...
OpenCode 74 Choosing the model in OpenCode: /models and the provider/model format In OpenCode there are three ways to choose the model: /models while you work, the model line in the file for...
OpenCode 79 Keeping the key out of opencode.jsonc: {env:...} and setx on Windows The key should never be written in the OpenCode file. The file only holds the name of a variable, and the key stays...
OpenCode 76 Context and output limits in OpenCode: limit.context and limit.output Each model in the models block can have a limit with two numbers: the context and the output. OpenCode does not know...
OpenCode 59 Sharing an OpenCode setup in your repository without sharing the key The project's opencode.jsonc can go into the repository. Whoever clones it gets the Interweb provider, the models...
OpenCode 55 Checking OpenCode with a sandbox_ key before you work A sandbox_ key lets you test the whole OpenCode setup without spending credits or points. The API answers in the...
OpenCode 67 OpenCode and the Coding Plan: points, credits and what is left OpenCode works the same with AI credits or with a Coding Plan. The key and the file do not change. What changes is...

Powered by WHMCompleteSolution