summaryrefslogtreecommitdiffhomepage
path: root/README.md
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-06-18 11:06:16 -0400
committerDax Raad <[email protected]>2025-06-18 11:06:16 -0400
commitebe51534a16eda0e4cd74c767f354eb1d52fd563 (patch)
treed2437a419edb3f966bb5e8eb1e29812804b1695d /README.md
parentb8bbee47180acb82a298783d4b8aabac5b1527ab (diff)
downloadopencode-ebe51534a16eda0e4cd74c767f354eb1d52fd563.tar.gz
opencode-ebe51534a16eda0e4cd74c767f354eb1d52fd563.zip
allow setting options in global provider store
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index ebd91d911..5fa27d913 100644
--- a/README.md
+++ b/README.md
@@ -83,6 +83,9 @@ Start with a `provider.toml` file in `~/.config/opencode/providers`
name = "OpenRouter"
env = ["OPENROUTER_API_KEY"]
npm = "@openrouter/ai-sdk-provider"
+
+[options]
+baseURL = "https://api.openrouter.ai" # optional settings
```
And models in `~/.config/opencode/providers/openrouter/models/[model-id]`