37 lines
1007 B
JSON
37 lines
1007 B
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"plugin": ["oh-my-openagent@latest"],
|
|
"autoupdate": false,
|
|
"model": "openai/gpt-5.4",
|
|
"small_model": "openai/gpt-5.4-mini",
|
|
"provider": {
|
|
"openai": {
|
|
"npm": "@ai-sdk/openai",
|
|
"options": {
|
|
"baseURL": "{env:AI_GATEWAY_BASE_URL}/v1",
|
|
"apiKey": "{env:AI_GATEWAY_API_KEY}"
|
|
},
|
|
"models": {
|
|
"gpt-5.4": {
|
|
"name": "GPT-5.4",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
|
"limit": { "context": 1050000, "input": 922000, "output": 128000 }
|
|
},
|
|
"gpt-5.4-mini": {
|
|
"name": "GPT-5.4 mini",
|
|
"reasoning": true,
|
|
"modalities": { "input": ["text", "image"], "output": ["text"] },
|
|
"limit": { "context": 400000, "input": 272000, "output": 128000 }
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"permission": {
|
|
"*": "allow"
|
|
},
|
|
"experimental": {
|
|
"disable_paste_summary": true
|
|
}
|
|
}
|