JasonWenTF 在 怎么在opencode里开启1m的GPT 中发帖
各位佬,怎么在opencode里开启1m的GPT?
使用OpenAI账号auth登陆的,是直接设置上下文参数吗,像这样
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"openai": {
"models": {
"gpt-5.4": {
"limit": {
"context": 1050000,
"input": 1050000,
"output": 128000
}
}
}
}
}
}