summaryrefslogtreecommitdiffhomepage
path: root/opencode.json
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-07-19 12:40:28 -0400
committerDax Raad <[email protected]>2025-07-19 12:41:58 -0400
commit86d5b25d1831d378f358b46598d4de06b9eaa8f9 (patch)
treee1d6b0741f5ad48af684a55ffa4caa48da7a6b90 /opencode.json
parent2b44dbdbf105f1c5d1cd34b7ae86925ff41e4c79 (diff)
downloadopencode-86d5b25d1831d378f358b46598d4de06b9eaa8f9.tar.gz
opencode-86d5b25d1831d378f358b46598d4de06b9eaa8f9.zip
pass through model.options properly without having to nest it under provider name. you may have to update your configs see https://opencode.ai/docs/models/#openrouter for an example
Diffstat (limited to 'opencode.json')
-rw-r--r--opencode.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/opencode.json b/opencode.json
index 2fa644079..f5ef59abd 100644
--- a/opencode.json
+++ b/opencode.json
@@ -1,5 +1,19 @@
{
"$schema": "https://opencode.ai/config.json",
+ "provider": {
+ "openrouter": {
+ "models": {
+ "moonshotai/kimi-k2": {
+ "options": {
+ "provider": {
+ "order": ["baseten"],
+ "allow_fallbacks": false
+ }
+ }
+ }
+ }
+ }
+ },
"mcp": {
"weather": {
"type": "local",