summaryrefslogtreecommitdiffhomepage
path: root/packages/web
diff options
context:
space:
mode:
authorJay V <[email protected]>2025-08-11 12:41:13 -0400
committerJay V <[email protected]>2025-08-11 12:41:13 -0400
commit10f3983f0bf490cbe1c5db623706bcb5fc0bee3f (patch)
treeea6081a85e32a17b470f08e522a5b0234ef66d51 /packages/web
parente9de7f95a7f09975f65241552ee9a5a3cade4089 (diff)
downloadopencode-10f3983f0bf490cbe1c5db623706bcb5fc0bee3f.tar.gz
opencode-10f3983f0bf490cbe1c5db623706bcb5fc0bee3f.zip
docs: edits
Diffstat (limited to 'packages/web')
-rw-r--r--packages/web/src/content/docs/docs/agents.mdx20
-rw-r--r--packages/web/src/content/docs/docs/config.mdx19
2 files changed, 4 insertions, 35 deletions
diff --git a/packages/web/src/content/docs/docs/agents.mdx b/packages/web/src/content/docs/docs/agents.mdx
index 52bb8ed14..80e1867d7 100644
--- a/packages/web/src/content/docs/docs/agents.mdx
+++ b/packages/web/src/content/docs/docs/agents.mdx
@@ -1,6 +1,6 @@
---
title: Agents
-description: Configure and use specialized agents in opencode.
+description: Configure and use specialized agents.
---
Agents are specialized AI assistants that can be configured for specific tasks and workflows. They allow you to create focused tools with custom prompts, models, and tool access.
@@ -360,25 +360,13 @@ The `mode` option can be set to `primary`, `subagent`, or `all`. If no `mode` is
---
-### Additional options
+### Additional
-Any other options you specify in your agent configuration will be passed through directly to the provider as model options. This allows you to use provider-specific features and parameters.
-
-```json title="opencode.json"
-{
- "agent": {
- "reasoning": {
- "model": "openai/gpt-5-turbo",
- "reasoningEffort": "high",
- "textVerbosity": "medium"
- }
- }
-}
-```
+Any other options you specify in your agent configuration will be **passed through directly** to the provider as model options. This allows you to use provider-specific features and parameters.
For example, with OpenAI's reasoning models, you can control the reasoning effort:
-```json title="opencode.json"
+```json title="opencode.json" {6,7}
{
"agent": {
"deep-thinker": {
diff --git a/packages/web/src/content/docs/docs/config.mdx b/packages/web/src/content/docs/docs/config.mdx
index 2119be5fa..61a89cb1f 100644
--- a/packages/web/src/content/docs/docs/config.mdx
+++ b/packages/web/src/content/docs/docs/config.mdx
@@ -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.