Skip to content

Commit fd9bd44

Browse files
authored
docs: mention Exa and Parallel as web search backends (anomalyco#38395)
1 parent b72b500 commit fd9bd44

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎packages/web/src/content/docs/cli.mdx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,7 @@ OpenCode can be configured using environment variables.
701701
| `OPENCODE_FAKE_VCS` | string | Fake VCS provider for testing purposes |
702702
| `OPENCODE_CLIENT` | string | Client identifier (defaults to `cli`) |
703703
| `OPENCODE_ENABLE_EXA` | boolean | Enable Exa web search tools |
704+
| `OPENCODE_ENABLE_PARALLEL` | boolean | Enable Parallel web search tools |
704705
| `OPENCODE_SERVER_PASSWORD` | string | Enable basic auth for `serve`/`web` |
705706
| `OPENCODE_SERVER_USERNAME` | string | Override basic auth username (default `opencode`) |
706707
| `OPENCODE_MODELS_URL` | string | Custom URL for fetching models configuration |

‎packages/web/src/content/docs/tools.mdx‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,12 +257,14 @@ Allows the LLM to fetch and read web pages. Useful for looking up documentation
257257
Search the web for information.
258258

259259
:::note
260-
This tool is only available when using the OpenCode or OpenCode Go provider, or when the `OPENCODE_ENABLE_EXA` environment variable is set to any truthy value (e.g., `true` or `1`).
260+
This tool is only available when using the OpenCode or OpenCode Go provider, or when either the `OPENCODE_ENABLE_EXA` or `OPENCODE_ENABLE_PARALLEL` environment variable is set to any truthy value (e.g., `true` or `1`).
261261

262262
To enable when launching OpenCode:
263263

264264
```bash
265265
OPENCODE_ENABLE_EXA=1 opencode
266+
# or
267+
OPENCODE_ENABLE_PARALLEL=1 opencode
266268
```
267269

268270
:::
@@ -276,9 +278,9 @@ OPENCODE_ENABLE_EXA=1 opencode
276278
}
277279
```
278280

279-
Performs web searches using Exa AI to find relevant information online. Useful for researching topics, finding current events, or gathering information beyond the training data cutoff.
281+
Performs web searches using Exa or Parallel to find relevant information online. Useful for researching topics, finding current events, or gathering information beyond the training data cutoff.
280282

281-
No API key is required — the tool connects directly to Exa AI's hosted MCP service without authentication.
283+
No API key is required — the tool connects directly to the backend's hosted MCP service without authentication.
282284

283285
:::tip
284286
Use `websearch` when you need to find information (discovery), and `webfetch` when you need to retrieve content from a specific URL (retrieval).

0 commit comments

Comments
 (0)