mirror of
https://github.com/theniceboy/.config.git
synced 2026-04-12 05:15:20 +08:00
opencode config update
This commit is contained in:
parent
aece9ae379
commit
cd9c92b1c2
2 changed files with 14 additions and 66 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"small_model": "zai-coding-plan/glm-4.7",
|
||||
"model": "anthropic/claude-opus-4-6",
|
||||
"autoupdate": true,
|
||||
"small_model": "openai/gpt-5.4-mini",
|
||||
"compaction": {
|
||||
"auto": false
|
||||
},
|
||||
|
|
@ -23,6 +23,7 @@
|
|||
"edit": "allow",
|
||||
"bash": "allow",
|
||||
"webfetch": "allow",
|
||||
"consult": "deny",
|
||||
"doom_loop": "allow",
|
||||
"external_directory": "allow"
|
||||
},
|
||||
|
|
@ -46,68 +47,5 @@
|
|||
"enabled": false
|
||||
}
|
||||
},
|
||||
"keybinds": {
|
||||
"messages_half_page_up": "ctrl+alt+u",
|
||||
"messages_half_page_down": "ctrl+alt+e",
|
||||
"messages_line_down": "none",
|
||||
"messages_line_up": "none"
|
||||
},
|
||||
"provider": {
|
||||
"cliproxyapi": {
|
||||
"npm": "@ai-sdk/openai",
|
||||
"name": "CLIProxyAPI (Local)",
|
||||
"options": {
|
||||
"baseURL": "http://127.0.0.1:8317/v1",
|
||||
"apiKey": "sk-dummy"
|
||||
},
|
||||
"models": {
|
||||
"claude-opus-4-5-20251101": {
|
||||
"name": "Claude Opus 4.5 (CLIProxyAPI)"
|
||||
},
|
||||
"gpt-5.1-codex-max": {
|
||||
"name": "GPT-5.1 Codex Max (High)",
|
||||
"options": {
|
||||
"reasoningEffort": "high",
|
||||
"include": [
|
||||
"reasoning.encrypted_content"
|
||||
],
|
||||
"store": false
|
||||
}
|
||||
},
|
||||
"gpt-5.1-codex-max-xhigh": {
|
||||
"id": "gpt-5.1-codex-max",
|
||||
"name": "GPT-5.1 Codex Max (Extra High)",
|
||||
"options": {
|
||||
"reasoningEffort": "xhigh",
|
||||
"include": [
|
||||
"reasoning.encrypted_content"
|
||||
],
|
||||
"store": false
|
||||
}
|
||||
},
|
||||
"gpt-5.1-high": {
|
||||
"name": "GPT-5.1 High",
|
||||
"options": {
|
||||
"reasoningEffort": "high",
|
||||
"store": false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cliproxyapi-google": {
|
||||
"npm": "@ai-sdk/google",
|
||||
"name": "CLIProxyAPI (Google)",
|
||||
"options": {
|
||||
"baseURL": "http://127.0.0.1:8317/v1beta",
|
||||
"apiKey": "sk-dummy"
|
||||
},
|
||||
"models": {
|
||||
"gemini-3-pro-preview": {
|
||||
"name": "Gemini 3 Pro Preview (Google OAuth)"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"agent": {
|
||||
}
|
||||
"provider": {}
|
||||
}
|
||||
|
|
|
|||
10
opencode/tui.json
Normal file
10
opencode/tui.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"$schema": "https://opencode.ai/tui.json",
|
||||
"keybinds": {
|
||||
"messages_half_page_up": "ctrl+alt+u",
|
||||
"messages_half_page_down": "ctrl+alt+e",
|
||||
"messages_line_down": "none",
|
||||
"messages_line_up": "none",
|
||||
"model_cycle_favorite": "<leader>f"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue