opencode config
This commit is contained in:
parent
ab961d7006
commit
2aa8820e86
1 changed files with 56 additions and 0 deletions
56
dot_config/opencode/opencode.jsonc
Normal file
56
dot_config/opencode/opencode.jsonc
Normal file
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue