Skip to content

Commit 70dc0a1

Browse files
committed
docs: readme
1 parent d579c5e commit 70dc0a1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ If there are additional providers you want to use you can submit a PR to the [Mo
6565

6666
Some basic configuration is available in the global config file.
6767

68-
```toml title="~/.config/opencode/config.toml"
68+
```toml
69+
# ~/.config/opencode/config
6970
theme = "opencode"
7071
provider = "anthropic"
7172
model = "claude-sonnet-4-20250514"
@@ -74,7 +75,8 @@ autoupdate = true
7475

7576
You can also extend the models.dev database with your own providers and models by placing a `provider.toml` file in `~/.config/opencode/providers`.
7677

77-
```toml title="~/.config/opencode/providers/openrouter/provider.toml"
78+
```toml
79+
# ~/.config/opencode/providers/openrouter/provider.toml
7880
[provider]
7981
name = "OpenRouter"
8082
env = ["OPENROUTER_API_KEY"]
@@ -84,7 +86,8 @@ npm = "@openrouter/ai-sdk-provider"
8486

8587
And models in `~/.config/opencode/providers/openrouter/models/[model-id]`.
8688

87-
```toml title="~/.config/opencode/providers/openrouter/models/anthropic/claude-3.5-sonnet.toml"
89+
```toml
90+
# ~/.config/opencode/providers/openrouter/models/anthropic/claude-3.5-sonnet.toml
8891
name = "Claude 4 Sonnet"
8992
attachment = true
9093
reasoning = false

0 commit comments

Comments
 (0)