mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 22:54:59 +08:00
add custom gpt-5.1-codex-max to opencode
This commit is contained in:
parent
a509aff28e
commit
2731b193d4
1 changed files with 29 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"small_model": "zai-coding-plan/glm-4.6",
|
||||
"model": "cliproxyapi/gpt-5.1-codex-max",
|
||||
"lsp": {
|
||||
"dart": {
|
||||
"command": [
|
||||
|
|
@ -32,5 +33,33 @@
|
|||
"keybinds": {
|
||||
"messages_half_page_up": "ctrl+u",
|
||||
"messages_half_page_down": "ctrl+e"
|
||||
},
|
||||
"provider": {
|
||||
"cliproxyapi": {
|
||||
"npm": "@ai-sdk/openai",
|
||||
"name": "CLIProxyAPI (Local)",
|
||||
"options": {
|
||||
"baseURL": "http://127.0.0.1:8317/v1",
|
||||
"apiKey": "sk-dummy"
|
||||
},
|
||||
"models": {
|
||||
"gemini-3-pro-preview": {
|
||||
"name": "Gemini 3 Pro Preview (Proxy)"
|
||||
},
|
||||
"gpt-5.1-codex-max": {
|
||||
"name": "GPT-5.1 Codex Max (High)",
|
||||
"options": {
|
||||
"reasoningEffort": "high"
|
||||
}
|
||||
},
|
||||
"gpt-5.1-codex-max-xhigh": {
|
||||
"id": "gpt-5.1-codex-max",
|
||||
"name": "GPT-5.1 Codex Max (Extra High)",
|
||||
"options": {
|
||||
"reasoningEffort": "xhigh"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue