From 2aa8820e86fdffe0f699efdcfa481e7dcaa27e45 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Mon, 8 Dec 2025 15:56:17 -0800 Subject: [PATCH] opencode config --- dot_config/opencode/opencode.jsonc | 56 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 dot_config/opencode/opencode.jsonc diff --git a/dot_config/opencode/opencode.jsonc b/dot_config/opencode/opencode.jsonc new file mode 100644 index 0000000..e0c6066 --- /dev/null +++ b/dot_config/opencode/opencode.jsonc @@ -0,0 +1,56 @@ +{ + "$schema": "https://opencode.ai/config.json", + // Theme configuration + "theme": "opencode", + "model": "daystrom/gpt-oss:120b-64k", + "autoupdate": true, + "share": "disabled", + "agent": { + "explorer": { + "mode": "primary", + "description": "Explores a codebase", + "prompt": "You are a senior engineer tasked with analyzing the codebase at hand and answering difficult questions about it in succinct, friendly, and accurate terms. You may search the web for more information. Don't blindly guess; list the files in the codebase. Find the key files and read them to make sure that you understand the implementation as well, like a good engineer.", + "tools": { + "write": false, + "read": true, + "grep": true, + "glob": true, + "list": true, + "todowrite": true, + "todoread": true, + "edit": false, + "bash": true, + "webfetch": true, + }, + }, + }, + "provider": { + "daystrom": { + "npm": "@ai-sdk/openai-compatible", + "name": "Ollama (daystrom)", + "options": { + "baseURL": "http://daystrom:11434/v1" + }, + "models": { + "gpt-oss:120b-64k": { + "name": "GPT-OSS 120b" + }, + "qwen3-coder:30b-a3b-q8_0-256k": { + "name": "Qwen3-Coder" + } + } + }, + "ollama": { + "npm": "@ai-sdk/openai-compatible", + "name": "Ollama (local)", + "options": { + "baseURL": "http://localhost:11434/v1" + }, + "models": { + "gpt-oss:20b-128k": { + "name": "GPT-OSS 20b" + } + } + } + } +}