summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src/content/docs/models.mdx
diff options
context:
space:
mode:
authorJay V <[email protected]>2025-10-03 13:46:56 -0400
committerJay V <[email protected]>2025-10-03 13:46:56 -0400
commit6378e6c06f3296ec8fdea13271c092e9830401ea (patch)
treed6528e50dc69ad9fef94be3f0bf9d97b3f5c0d14 /packages/web/src/content/docs/models.mdx
parent4159db4549efd9d598543a8030ed1fe80e56b3a9 (diff)
downloadopencode-6378e6c06f3296ec8fdea13271c092e9830401ea.tar.gz
opencode-6378e6c06f3296ec8fdea13271c092e9830401ea.zip
docs: rename opencode to OpenCode
Diffstat (limited to 'packages/web/src/content/docs/models.mdx')
-rw-r--r--packages/web/src/content/docs/models.mdx12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/web/src/content/docs/models.mdx b/packages/web/src/content/docs/models.mdx
index b3fc4c28f..f3963f2ac 100644
--- a/packages/web/src/content/docs/models.mdx
+++ b/packages/web/src/content/docs/models.mdx
@@ -3,13 +3,13 @@ title: Models
description: Configuring an LLM provider and model.
---
-opencode uses the [AI SDK](https://ai-sdk.dev/) and [Models.dev](https://models.dev) to support for **75+ LLM providers** and it supports running local models.
+OpenCode uses the [AI SDK](https://ai-sdk.dev/) and [Models.dev](https://models.dev) to support for **75+ LLM providers** and it supports running local models.
---
## Providers
-Most popular providers are preloaded by default. If you've added the credentials for a provider through `opencode auth login`, they'll be available when you start opencode.
+Most popular providers are preloaded by default. If you've added the credentials for a provider through `opencode auth login`, they'll be available when you start OpenCode.
Learn more about [providers](/docs/providers).
@@ -35,7 +35,7 @@ Consider using one of the models we recommend.
However, there are a only a few of them that are good at both generating code and tool calling.
-Here are the ones we recommend with opencode:
+Here are the ones we recommend with OpenCode:
- Claude Sonnet 4
- Claude Opus 4
@@ -49,7 +49,7 @@ Here are the ones we recommend with opencode:
## Set a default
To set one of these as the default model, you can set the `model` key in your
-opencode config.
+OpenCode config.
```json title="opencode.json" {3}
{
@@ -139,11 +139,11 @@ You can also define custom models that extend built-in ones and can optionally u
## Loading models
-When opencode starts up, it checks for models in the following priority order:
+When OpenCode starts up, it checks for models in the following priority order:
1. The `--model` or `-m` command line flag. The format is the same as in the config file: `provider_id/model_id`.
-2. The model list in the opencode config.
+2. The model list in the OpenCode config.
```json title="opencode.json"
{