docs: edits

This commit is contained in:
Jay V 2025-08-11 12:41:13 -04:00
commit 10f3983f0b
2 changed files with 4 additions and 35 deletions

View file

@ -71,25 +71,6 @@ Your editor should be able to validate and autocomplete based on the schema.
---
### Modes
opencode comes with two built-in modes: _build_, the default with all tools enabled. And _plan_, restricted mode with file modification tools disabled. You can override these built-in modes or define your own custom modes with the `mode` option.
```json title="opencode.json"
{
"$schema": "https://opencode.ai/config.json",
"mode": {
"build": {},
"plan": {},
"my-custom-mode": {}
}
}
```
[Learn more here](/docs/modes).
---
### Models
You can configure the providers and models you want to use in your opencode config through the `provider`, `model` and `small_model` options.