diff --git a/opencode.json b/opencode.json index 57b9400824d9..1f2a4dd4d330 100644 --- a/opencode.json +++ b/opencode.json @@ -1,5 +1,20 @@ { "$schema": "https://opencode.ai/config.json", + "provider": { + "lmstudio": { + "npm": "@ai-sdk/openai-compatible", + "name": "LM Studio", + "options": { + "baseURL": "http://localhost:1234/v1" + }, + "models": { + "local-model": { + "name": "Local LM Studio Model" + } + } + } + }, + "model": "lmstudio/local-model", "experimental": { "hook": { "file_edited": {