mirror of
https://github.com/ksyasuda/dotfiles.git
synced 2025-12-05 02:53:38 -08:00
add opencode
This commit is contained in:
49
.config/opencode/opencode.json
Normal file
49
.config/opencode/opencode.json
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://opencode.ai/config.json",
|
||||||
|
"theme": "catppuccin",
|
||||||
|
"model": "github-copilot/gpt-4.1",
|
||||||
|
"provider": {
|
||||||
|
"openai": {
|
||||||
|
"models": {
|
||||||
|
"gpt-5": {
|
||||||
|
"options": {
|
||||||
|
"reasoningEffort": "high",
|
||||||
|
"textVerbosity": "low",
|
||||||
|
"reasoningSummary": "auto",
|
||||||
|
"include": ["reasoning.encrypted_content"],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"agent": {
|
||||||
|
"build": {
|
||||||
|
"mode": "primary",
|
||||||
|
"model": "github-copilot/gpt-4.1",
|
||||||
|
"tools": {
|
||||||
|
"write": true,
|
||||||
|
"edit": true,
|
||||||
|
"bash": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"plan": {
|
||||||
|
"mode": "primary",
|
||||||
|
"model": "github-copilot/gpt-4.1",
|
||||||
|
"tools": {
|
||||||
|
"write": false,
|
||||||
|
"edit": false,
|
||||||
|
"bash": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"code-reviewer": {
|
||||||
|
"description": "Reviews code for best practices and potential issues",
|
||||||
|
"mode": "subagent",
|
||||||
|
"model": "github-copilot/gpt-4.1",
|
||||||
|
"prompt": "You are a code reviewer. Focus on security, performance, and maintainability.",
|
||||||
|
"tools": {
|
||||||
|
"write": false,
|
||||||
|
"edit": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user